| Electronic Components Datasheet Search |
|
AN3350 Datasheet(PDF) 149 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3350 Datasheet(HTML) 149 Page - STMicroelectronics |
|
149 / 185 page ![]() AN3350 Pragmas for diagnostic messages Doc ID 018512 Rev 2 149/185 19.22 warn_impl_s2u_conv Controls the issuing of warning messages for implicit conversions between the signed int and unsigned int data types. Syntax #pragma warn_impl_s2u_conv on | off | reset Remarks If you enable this pragma, the compiler issues a warning message for implicitly converting either from signed int to unsigned int or vice versa.Example 96 provides an example. Example 96 Example of implicit conversions between signed int and unsigned int #pragma warn_impl_s2u_conv on signed int si; unsigned int ui; int main() { ui = si; /* WARNING */ si = ui; /* WARNING */ #pragma warn_impl_s2u_conv off ui = si; /* OK */ si = ui; /* OK */ } By default, this pragma is enabled. 19.23 warn_implicitconv Controls the issuing of warning messages for all implicit arithmetic conversions. Syntax #pragma warn_implicitconv on | off | reset Remarks If you enable this pragma, the compiler issues a warning message for all implicit arithmetic conversions when the destination type might not represent the source value.Example 97 provides an example. Example 97 Example of implicit conversion #pragma warn_implicitconv on float f; signed int si; unsigned int ui; |
|
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 |