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

           Summary: Clang should err, not warn, on unrecognized warning
                    options
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


Many open source projects, including Wine, pass various warning flags to the
compiler to see if they're supported, expecting the compiler to return a
non-zero status if they aren't.

Clang, on the other hand, only warns when it receives an unrecognized warning
option. The warning is very annoying, particularly when compiling large numbers
of source files, because it clutters the output. We believe the Clang should
err (and thus return a non-zero status) instead of warn on warning options that
aren't recognized.

We wanted to use -Werror, but Wine's maintainer told us to file a bug here
instead.

-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to