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

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Mar 3 00:58:45 PST 2010


           Summary: clang -fsyntax-only fails on something g++ accepts [3]
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            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 globals_io.cc && echo success

pes delta$ clang++ -fsyntax-only globals_io.cc && echo success
globals_io.cc:24:8: warning: control reaches end of non-void function
globals_io.cc:25:80: error: explicit specialization of 'xsputn' after
        template<>     inline std::streamsize    
stdio_sync_filebuf<wchar_t>::xsputn(const wchar_t* __s, ...
globals_io.cc:23:80: note: implicit instantiation first required here
        template<>     inline std::streamsize    
stdio_sync_filebuf<wchar_t>::xsgetn(wchar_t* __s, ...
3 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