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.)