This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Warning about int<-->enum conversions?
- From: dewar at gnat dot com (Robert Dewar)
- To: dewar at gnat dot com, gdr at acm dot org
- Cc: gcc at gcc dot gnu dot org, giovannibajo at libero dot it
- Date: Thu, 8 Jul 2004 10:29:31 -0400 (EDT)
- Subject: Re: Warning about int<-->enum conversions?
> For most C codes, it would be a real disaster. C definitely
> has a differrent view from Ada (and C programmers seem
> to have a different view). Turn that on warning and bootstrap
> GCC's own source code, that will give you an idea ;-)
Most definitely I would think of this as a warning that was off
by default, and not included in -Wall. But you have at least one
datapoint of a C programmer who would like this warning :-)