I have one C header file (used as a debug tool) that must use GCC extension (variadac macro) and I want the header file itself to enable GCC extension (--gcc switch) automatically or throw a #error if the compiler doesn't support --gcc. i.e. if the user choose to include the header file (tool) in their project, the project will be automatically upgraded to support GCC extension or the project will fail to compile.
Is there a neat way to do that in CCS? I couldn't find any pragma related to that in the compiler/assembler manual.