| Electronic Components Datasheet Search |
|
AN3350 Datasheet(PDF) 151 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3350 Datasheet(HTML) 151 Page - STMicroelectronics |
|
151 / 185 page ![]() AN3350 Pragmas for diagnostic messages Doc ID 018512 Rev 2 151/185 19.26 warn_no_side_effect Controls the issuing of warning messages for redundant statements. Syntax #pragma warn_no_side_effect on | off | reset Remarks If you enable this pragma, the compiler issues a warning message when it encounters a statement that produces no side effect. To suppress this warning message, cast the statement with (void).Example 99 provides an example. Example 99 Example of Pragma warn_no_side_effect #pragma warn_no_side_effect on void func(int a,int b) { a+b; /* WARNING: expression has no side effect */ (void)(a+b); /* OK: void cast suppresses warning. */ } By default, this pragma is off. 19.27 warn_padding Controls the issuing of warning messages for data structure padding. Syntax #pragma warn_padding on | off | reset Remarks If you enable this pragma, the compiler warns about any bytes that were implicitly added after an ANSI C struct member to improve memory alignment. Refer to the appropriate Targeting manual for more information on how the compiler pads data structures for a particular processor or operating system. By default, this setting is off. 19.28 warn_pch_portability Controls whether or not to issue a warning message when #pragma once on is used in a precompiled header. Syntax #pragma warn_pch_portability on | off | reset Remarks If you enable this pragma, the compiler issues a warning message when you use #pragma once on in a precompiled header. This helps you avoid situations in which transferring a |
|
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 |