http://llvm.org/bugs/show_bug.cgi?id=6474
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: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
pes delta$ g++ -fsyntax-only globals_io.cc && echo success
success
pes delta$ clang++ -fsyntax-only globals_io.cc && echo success
globals_io.cc:24:8: warning: control reaches end of non-void function
[-Wreturn-type]
}
^
globals_io.cc:25:80: error: explicit specialization of 'xsputn' after
instantiation
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs