[LLVMbugs] [Bug 6175] [driver] improve handling of -std with mismatched inputs

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jun 22 14:32:11 PDT 2012


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

Kaelyn Uhrain <rikka at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |rikka at google.com
         Resolution|                            |FIXED

--- Comment #1 from Kaelyn Uhrain <rikka at google.com> 2012-06-22 16:32:11 CDT ---
Given the same input file, clang 3.1 does the right thing:

$ clang -std=gnu89 -fsyntax-only x.cpp
error: invalid argument '-std=gnu89' not allowed with 'C++/ObjC++'

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