[LLVMbugs] [Bug 6454] New: clang -fsyntax-only fails on something g++ accepts [3]

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Mar 1 12:53:02 PST 2010


           Summary: clang -fsyntax-only fails on something g++ accepts [3]
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: rdivacky at freebsd.org
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com

pes delta$ g++ -fsyntax-only ext-inst.cc && echo success

pes delta$ clang++ -fsyntax-only ext-inst.cc && echo success
ext-inst.cc:9:5: warning: control reaches end of non-void function
ext-inst.cc:37:41: error: use of undeclared identifier '_Data_allocate'
        _CharT* __new_data = (_CharT*) 
_Data_allocate(_S_rounded_up_size(__old_len + __len));
2 diagnostics generated.

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