11.07.2015 Views

MSP430 IAR C/C++ Compiler reference guide - Rice University

MSP430 IAR C/C++ Compiler reference guide - Rice University

MSP430 IAR C/C++ Compiler reference guide - Rice University

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Descriptions of miscellaneous preprocessor extensionsPredefined symbol__STDC_VERSION____SUBVERSION____TIME____VER__Table 39: Predefined symbols (Continued)Identifies* This symbol is required by the ISO/ANSI standard.An integer that identifies the version of ISO/ANSI C standardin use. The symbols expands to 199409L. This symbol doesnot apply in E<strong>C++</strong> mode. *An integer that identifies the version letter of the compilerversion number, for example the C in 4.21C, as an ASCIIcharacter.A string that identifies the time of compilation in the form"hh:mm:ss". *An integer that identifies the version number of the <strong>IAR</strong>compiler in use. The value of the number is calculated in thefollowing way: (100 * the major version number+ the minor version number). For example, forcompiler version 3.34, 3 is the major version number and 34 isthe minor version number. Hence, the value of __VER__ is334.Note: The predefined symbol __TID__ is recognized for backward compatibility, butit is recommended to use the symbols __CORE__ and __ICC430__ instead.Descriptions of miscellaneous preprocessor extensionsThe following section gives <strong>reference</strong> information about the preprocessor extensionsthat are available in addition to the predefined symbols, pragma directives, andISO/ANSI directives.NDEBUGDescriptionThis preprocessor symbol determines whether any assert macros you have written inyour application shall be included or not in the built application.If this symbol is not defined, all assert macros are evaluated. If the symbol is defined,all assert macros are excluded from the compilation. In other words, if the symbol is:●defined, the assert code will not be included● not defined, the assert code will be includedThis means that if you have written any assert code and build your application, youshould define this symbol to exclude the assert code from the final application.228<strong>MSP430</strong> <strong>IAR</strong> C/<strong>C++</strong> <strong>Compiler</strong>Reference Guide

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!