[LLVMbugs] [Bug 7216] New: clang++ silently accepts flags it doesn't understand
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon May 24 15:03:25 PDT 2010
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: unassignedclangbugs at nondot.org
ReportedBy: chris at bubblescope.net
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
'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.
More information about the llvm-bugs
mailing list