[LLVMbugs] [Bug 9358] New: bad -fno-exceptions and -fobjc-exceptions interaction

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Mar 1 11:55:20 PST 2011


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

           Summary: bad -fno-exceptions and -fobjc-exceptions interaction
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: rafael.espindola at gmail.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


Clang will reject

#include <new>
void* operator new[](size_t size) throw ();

if compiled with

clang++ -c  -fno-exceptions -fobjc-exceptions test.mm


but

clang++ -c  -fno-exceptions test.mm

will work.

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