Which predefined macro(s) allows me to test whether clang supports variadic macros when compiling ?
Edward Diener <eldlistmailingz@tropicsoft.com>
writes:
Which predefined macro(s) allows me to test whether clang supports
variadic macros when compiling ?
I guess that checking the compiler's version is okay. IIRC they are
supported since 3.1, at least.
macros.
-Eli
I can assume that but it would be good if clang had an has_feature macro to test it. But since i could not find such a macro it does seem as if you are correct and clang must have always supported variadic macros.