public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* How to generate warning when converting from int to unsigned implicitly or vice versa?
@ 2008-07-17 20:46 Peng Yu
  0 siblings, 0 replies; only message in thread
From: Peng Yu @ 2008-07-17 20:46 UTC (permalink / raw)
  To: gcc-help

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-07-17 18:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-17 20:46 How to generate warning when converting from int to unsigned implicitly or vice versa? Peng Yu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).