[LLVMbugs] [Bug 12181] New: -Werror=unused-command-line-argument does nothing

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Mar 4 11:41:42 PST 2012


http://llvm.org/bugs/show_bug.cgi?id=12181

             Bug #: 12181
           Summary: -Werror=unused-command-line-argument does nothing
           Product: clang
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: nobled at dreamwidth.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Just a general -Werror doesn't, either:

$ clang -x c /dev/null -fsyntax-only -fzyzzybalubah
-Werror=unused-command-line-argument
clang-3: warning: argument unused during compilation: '-fzyzzybalubah'
$ clang -x c /dev/null -fsyntax-only -fzyzzybalubah -Werror
clang-3: warning: argument unused during compilation: '-fzyzzybalubah'

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list