| 전자부품 데이터시트 검색엔진 |
|
AN3350 데이터시트(PDF) 142 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3350 데이터시트(HTML) 142 Page - STMicroelectronics |
|
142 / 185 page ![]() Pragmas for diagnostic messages AN3350 142/185 Doc ID 018512 Rev 2 This pragma does not correspond to any panel setting. By default, this pragma is enabled. 19.8 unused Controls the suppression of warning messages for variables and parameters that are not referenced in a function. Syntax #pragma unused ( var_name [, var_name ]... ) var_name The name of a variable. Remarks This pragma suppresses the compile time warning messages for the unused variables and parameters specified in its argument list. You can use this pragma only within a function body. The listed variables must be within the scope of the function. In C++, you cannot use this pragma with functions defined within a class definition or with template functions. Example 87 Example of pragma unused() in C #pragma warn_unusedvar on #pragma warn_unusedarg on static void ff(int a) { int b; #pragma unused(a,b) /* Compiler does not warn that a and b are unused. */ } Example 88 Example of Pragma unused() in C++ #pragma warn_unusedvar on #pragma warn_unusedarg on static void ff(int /* No warning */) { int b; #pragma unused(b) /* Compiler does not warn that b is unused. */ } 19.9 warning Controls which warning numbers are displayed during compiling. |
|
링크 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 |