| Electronic Components Datasheet Search |
|
AN3350 Datasheet(PDF) 145 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3350 Datasheet(HTML) 145 Page - STMicroelectronics |
|
145 / 185 page ![]() AN3350 Pragmas for diagnostic messages Doc ID 018512 Rev 2 145/185 Example 91 Example of empty declaration in C++ #pragma warn_emptydecl on extern "C" { }; /* WARNING */ By default, this pragma is disabled. 19.13 warn_extracomma Controls the recognition of superfluous commas in enumerations. Syntax #pragma warn_extracomma on | off | reset Remarks If you enable this pragma, the compiler issues a warning message when it encounters a trailing comma in enumerations. For example,Example 92 is acceptable source code but generates a warning message when you enable this setting. Example 92 Warning about extra commas #pragma warn_extracomma on enum { mouse, cat, dog, }; /* WARNING: compiler expects an identifier after final comma. */ The compiler ignores terminating commas in enumerations when compiling source code that conforms to the ISO/IEC 9899-1999 (“C99”) standard. By default, this pragma is disabled. 19.14 warn_filenamecaps Controls the recognition of conflicts involving case-sensitive filenames within user includes. Syntax #pragma warn_filenamecaps on | off | reset Remarks If you enable this pragma, the compiler issues a warning message when an #include directive capitalizes a filename within a user include differently from the way the filename appears on a disk. It also detects use of “8.3” DOS filenames in Windows® operating systems when a long filename is available. Use this pragma to avoid porting problems to operating systems with case-sensitive file names. By default, this pragma only checks the spelling of user includes such as the following: #include "file" For more information on checking system includes, see warn_filenamecaps_system. By default, this pragma is off. |
|
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 |