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.

CCS 5.4.0 incorrectly flags variadic macro expansion as a syntax error

The following code snippet shows a syntax error on line 15:

But the code compiles without any errors. If I preprocess this file (with --gcc extensions enabled, of course), I see:

which is what I expect.

A similar construct gets used a lot in our code, and the numerous "syntax errors" are distracting. How can I make the editor stop doing this?

Thanks,

Paul

  • Paul,

    You could try disabling the Code Analysis features.

    I believe in v6 we have a number of the rules disabled.  You can selectively choose which ones to turn on and off.

    Regards,

    John

  • John,

    Thanks. I disabled them all, closed CCS, and restarted.

    I still see the code highlighted as shown in my orginal post. When I hover my cursor over the Question Mark icon, the tooltip says "Syntax Error."

    Perhaps this is a problem with the C++ lexer/parser?