This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/54787] Inconsistent -Wtype-limits warning for different-sized bitfields


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54787

--- Comment #2 from Hans-Peter Nilsson <hp at gcc dot gnu.org> 2012-10-03 03:31:27 UTC ---
(In reply to comment #0)
> ...need to turn it off per-file (by adding "-Wno-error=type-limits" to
> compilations using the common idiom of -Werror together with warnings that
> include -Wtype-limits).

Correction: -Wno-error=type-limits only turns off the error-generating property
of the warning when used with -Werror; it does not turn off the warning itself.
 (To turn off the warning, use -Wno-type-limits.)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]