03-11-2015, 06:44 AM
such as
and, the identifier(log) exists after preprocssing has been performed:
I have a question regarding rule 5.5: does the function(log) apply to #define log ?
Code:
#ifndef NO_TAG
static void log (const char *format, ...)
{
}
#else
#if defined(__STDC_VERSION__)
#define log(...) do { } while (0) // here
#endif
#endif
Code:
static void log (const char *format, ...) // does it apply to #define log ?
{
}
<t></t>