W8055 Possible overflow in shift operation (C++)

From RAD Studio
Jump to: navigation, search

Go Up to Compiler Errors And Warnings (C++) Index

The compiler detects cases where the number of bits shifted over is larger than the number of bits in the affected variable; for example:

char c;  c >> 16;