English
Language : 

AN3350 Datasheet, PDF (128/185 Pages) STMicroelectronics – eTPU compiler tools
Pragmas for standard C conformance
17 Pragmas for standard C conformance
AN3350
17.1
ANSI_strict
Controls the use of non-standard language features.
Syntax
#pragma ANSI_strict on | off | reset
Remarks
If you enable the pragma ANSI_strict, the compiler generates an error message if it
encounters some eTPU build tools extensions to the C language defined by the ISO/IEC
9899-1990 (“C90”) standard:
● C++-style comments
● Unnamed arguments in function definitions
● Non-standard keywords
By default, this pragma is off.
17.2
c99
Controls the use of a subset of ISO/IEC 9899-1999 (“C99”) language features.
Syntax
#pragma c99 on | off | reset
128/185
Doc ID 018512 Rev 2