Diagnostic 69: integer conversion resulted in truncation

Diagnostic 69: integer conversion resulted in truncation

Thank you for your interest in this diagnostic message. We are still in the process of documenting this specific diagnostic.

Please let us know of your experience with this diagnostic message by posting a comment below. Your interest in this diagnostic will help us prioritize the order we document diagnostics.

For more complete information about compiler optimizations, see our Optimization Notice.

1 comment

anonymous's picture

I get this warning message when I convert an enum (with negative values) to a "unsigned int". I cannot see where a truncation does occur....
There are thirty two bits on either side of assignment.
Only, the sign is lost and binary value will be interpreted differently.

Add a Comment

Have a technical question? Visit our forums. Have site or software product issues? Contact support.