How to generate warning when converting from int to unsigned implicitly or vice versa?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

g++ can generate warnings when comparing int and signed integer. I'm
wondering if it can generate warnings when converting int to unsigned
or unsigned to int.

Thanks,
Peng

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux