| 전자부품 데이터시트 검색엔진 |
|
AN3350 데이터시트(PDF) 151 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3350 데이터시트(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 |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |