Controls the issuing of warning messages for all implicit arithmetic conversions.
#pragma warn_implicitconv on | off | reset
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. Listing: Example of Implicit Conversion provides an example.
#pragma warn_implicitconv on float f; signed int si; unsigned int ui; int main() { f = si; /* WARNING */ si = f; /* WARNING */ ui = si; /* WARNING */ si = ui; /* WARNING */ }