| 전자부품 데이터시트 검색엔진 |
|
AN3350 데이터시트(PDF) 154 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3350 데이터시트(HTML) 154 Page - STMicroelectronics |
|
154 / 185 page ![]() Pragmas for diagnostic messages AN3350 154/185 Doc ID 018512 Rev 2 Syntax #pragma warn_undefmacro on | off | reset Remarks Example 106 provides an example. Example 106 Example of undefined macro #if BADMACRO == 4 /* WARNING: undefined macro. */ Use this pragma to detect the use of undefined macros (especially expressions) where the default value 0 is used. To suppress this warning message, check if defined first. Note: A warning message is only issued when a macro is evaluated. A short-circuited “&&” or “||” test or unevaluated “?:” will not produce a warning message. By default, this pragma is off. 19.33 warn_uninitializedvar Controls the compiler to perform some dataflow analysis and emits warning messages whenever local variables are initialized before being used. Syntax #pragma warn_uninitializedvar on | off | reset Remarks By default, this pragma is on. 19.34 warn_unusedarg Controls the recognition of unreferenced arguments. Syntax #pragma warn_unusedarg on | off | reset Remarks If you enable this pragma, the compiler issues a warning message when it encounters an argument you declare but do not use. This check helps you find arguments that you either misspelled or did not use in your program.Example 107 shows an example. Example 107 Warning about unused function arguments void func(int temp, int error); { error = do_something(); /* WARNING: temp is unused. */ } |
|
링크 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 |