| Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
AN3350 Datasheet(PDF) 142 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3350 Datasheet(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. |
|
Enlace URL |
| ¿ALLDATASHEET es útil para Ud.? [ DONATE ] |
Todo acerca de Alldatasheet | Publicidad | Contáctenos | Política de Privacidad | Enlace a la hoja de datos | Intercambio de Enlaces | Lista de Fabricantes 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 |