[Qt-creator] Macro expansion claims error, but code compiles fine

Geronimo Ma. Hernandez geronimo013 at gmx.com
Mon May 28 07:37:10 CEST 2012


Hello,

I just wanted to inform you, that all occurrences of this macro:

#define isyslog(a ...)      void((SysLogLevel > 1) ? syslog_with_tid(LOG_ERR, 
a) : void())

where marked es faulty. Flyover help says: expected token ';' got ')'
May be your parser needs a little finetuning, cause gcc does not vomit any 
warning.

kind regards

Gero



More information about the Qt-creator mailing list