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.

__VA_ARGS__ unknown identifier

Hi everyone,

I try to use this macro that used with gcc previously

#define ASSERT(condition, ...)  { \
            if (!(condition)) { \
                printf("-F- ASSERT: "); \
                printf(__VA_ARGS__); \
                while (1); \
            } \
        }

But __VA_ARGS__ is unknown, what may be used instead?