This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Non-real syntax error.

The CCS IDE is giving a "Syntax error" icon at a line of my code. The compiler, however, is not giving any errors--the line works as it should--but the IDE is complaining.

The line of code is

            VL5_AssertMsg(i==0,"fs_malloc index: %d",i);

which is a macro defined as

#define VL5_AssertMsg(expr, msg, ...) \
    do if (!(expr)) VL5_AssertCall(__FILE__, __LINE__, msg, ## __VA_ARGS__); while(0)

The macro expands to

            do if (!(i==0)) VL5_AssertCall("../<path here>/fs.c", 65, "fs_malloc index is %d",i); while(0);

Any ideas how to get the IDE to stop complaining?