Hi, is there a way to detect (e.g. with an #ifdef) if -fms-extensions is in effect (so that one can use __declspec( novtable ) )?
#ifdef _MSC_EXTENSIONS
Hi, is there a way to detect (e.g. with an #ifdef) if -fms-extensions is in
effect (so that one can use __declspec( novtable ) )?
The best way is to use #if __has_declspec_attribute(novtable) when
compiling with Clang.
~Aaron