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

             Bug #: 52347
           Summary: -Wno-tabs -Wall -Wno-tabs still warns about tabs
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: bur...@gcc.gnu.org


With mosts flags, a flag which is implied by another flag can be overridden by
the specific flag. For instance -f(no-)protect-parens overriddes the settings
of -O0 (protected) or -Ofast (unprotected parentheses).

However, for tab warnings -Wno-tabs cannot be used to turn off the warning,
enabled by -Wall.

I wouldn't be surprised if that also holds for other warnings, enabled by -Wall
or -Wextra.

Found at
http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/9942915c9c41b151

Reply via email to