Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5362

error: expected expression

$
0
0

Hello, hello,

I ave a project which compiles fine on a 1st sytem, but when compiled on a second one, I get the following errors:

 AutoRestart.c - 4 errors
  54, 9    error: expected expression
Both use CVI 2015 and the .prj and the .cws are under subversion as well as the code, so everything should be the same.

The line which causes the error is:

 

OutputLogMsg("Some dumb text.");

Which has the following definition:

 

#define OutputLogMsg(fmt, ...) _OutputLogMsg(__func__, __LINE__, fmt, __VA_ARGS__)
extern void  _OutputLogMsg(const char* Function, const int Line, const char *fmt, ... )    __attribute__((__format__ (__printf__, 3, 0)));

Now, I repeat that this compiles fine on my system, but not on my colleague's (I don't have access to his system).


Viewing all articles
Browse latest Browse all 5362

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>