Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » Function.h: "expression cannot be used as a function"
Re: Function.h: "expression cannot be used as a function" [message #49362 is a reply to message #49358] Wed, 31 January 2018 18:46 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
Giorgio wrote on Wed, 31 January 2018 12:44
Hi folks,
I have an application developed on Windows platform, that compiles and works fine. Now I am in the process to port it on a linux platform. When I try to compile it with gcc, I get the following error: "expression cannot be used as a function" on line 17 of Function.h. I am using Ultimate++ 2017.2. It is unclear if the error is triggered by some code I wrote even if it shows up in that file. In the past I compiled the same program on linux using an older version of Ultimate++ and it compiled without problems.
Regards,
Gio


The problem will be around here:

/home/pi/MyApps/StatusDetector/AggiungiComm.cpp:149:1:

Can you show us a couple of lines around it? Or maybe the whole file, if possible.

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: I've been using FindFile wrong all these years
Next Topic: Vector<T>::Set(int i, T&& x) proposal
Goto Forum:
  


Current Time: Tue Aug 26 18:32:43 CEST 2025

Total time taken to generate the page: 0.05332 seconds