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

           Summary: clang++ silently accepts flags it doesn't understand
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


'clang++ -mnot-a-flag -fnot-a-flag t.cc' runs, and silently ignores the -m and
-f flags it does not understand. Adding -Wnot-a-flag produces the useful:

warning: unknown warning option '-Wnot-a-fla' [-Wunknown-warning-option]

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