| Electronic Components Datasheet Search |
|
AN3350 Datasheet(PDF) 92 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3350 Datasheet(HTML) 92 Page - STMicroelectronics |
|
92 / 185 page ![]() C compiler AN3350 92/185 Doc ID 018512 Rev 2 12.2 C99 extensions The eTPU build tools C compiler accepts the enhancements to the C language specified by the ISO/IEC 9899-1999 standard, commonly referred to as “C99.” ● Controlling C99 extensions ● Trailing commas in enumerations ● Compound literal values ● Designated initializers ● Predefined Symbol __func__ ● Implicit return from main() ● Non-constant static data initialization ● Variable argument macros ● Extra C99 keywords ● C++-style comments ● C++-style digraphs ● Empty arrays in structures ● Hexadecimal floating-point constants ● Variable-length arrays ● Unsuffixed decimal literal values ● C99 complex data types 12.2.1 Controlling C99 extensions Table 13 shows how to control C99 extensions. 12.2.2 Trailing commas in enumerations When the C99 extensions setting is on, the compiler allows a comma after the final item in a list of enumerations. Example 27 shows an example. Example 27 Trailing comma in enumeration example enum { violet, blue green, yellow, orange, red, /* OK: accepted if C99 extensions setting is on. */ }; Table 13. Controlling C99 extensions to the C language To control this option from here... use this setting Source code #pragma c99 Command line -c99 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |