For some reason I can not find the document that describes all the valid preprocessor directives for CCSv3.3 (c6747).
I am looking for something like #warning.
-howy
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.
For some reason I can not find the document that describes all the valid preprocessor directives for CCSv3.3 (c6747).
I am looking for something like #warning.
-howy
The compiler Users Guide contains a list of predefined macros supported by the compiler. The Users Guides are available here: http://processors.wiki.ti.com/index.php/TI_Compiler_Information#Compiler_Manuals
Specifically regarding #warning, please see this related thread: http://e2e.ti.com/support/development_tools/compiler/f/343/p/33982/131778.aspx#131778
Thanks , the #warn does what I need it to do however I still can't find a list of supported preprocessor directives. For example if you search the c6000 Optimizing Compilers Guide (which is where I would expect it o be) for "ifdef" you will only see it used in an example for something else rather than in a complete list of supported directives.
-howy
Things like #ifdef, #define etc fall under the standard C preprocessing (as defined by ANSI C), so we do not specifically document them. Our compiler supports the ANSI C (C89) standard.