[LLVMbugs] [Bug 6448] New: clang -fsyntax-only fails on something g++ accepts
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Mar 1 07:08:21 PST 2010
http://llvm.org/bugs/show_bug.cgi?id=6448
Summary: clang -fsyntax-only fails on something g++ accepts
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
Blocks: 6266
when compiling the attached:
pes delta$ g++ -fsyntax-only ext-inst.cc && echo success
success
pes delta$ clang++ -fsyntax-only ext-inst.cc && echo success
ext-inst.cc:20:171: error: '_CharT' does not refer to a value
...= (_Rope_RopeLeaf<_CharT, _Alloc>*)this; __l->_Rope_RopeLeaf<_CharT,
_Alloc>::~_Rope_RopeLeaf(); ...
^
ext-inst.cc:19:31: note: declared at
template <class _CharT, class _Alloc> void
_Rope_RopeRep<_CharT, _Alloc>:: ...
^
ext-inst.cc:20:424: error: '_CharT' does not refer to a value
...= (_Rope_RopeConcatenation<_CharT, _Alloc>*)this;
__c->_Rope_RopeConcatenation<_CharT, _Alloc>:: ...
^
ext-inst.cc:19:31: note: declared at
template <class _CharT, class _Alloc> void
_Rope_RopeRep<_CharT, _Alloc>:: ...
^
ext-inst.cc:20:682: error: '_CharT' does not refer to a value
..._Alloc>*)this; __f->_Rope_RopeFunction<_CharT,
_Alloc>::~_Rope_RopeFunction(); _F_deallocate(__f, ...
^
ext-inst.cc:19:31: note: declared at
template <class _CharT, class _Alloc> void
_Rope_RopeRep<_CharT, _Alloc>:: ...
^
ext-inst.cc:20:935: error: '_CharT' does not refer to a value
...__ss = (_Rope_RopeSubstring<_CharT, _Alloc>*)this;
__ss->_Rope_RopeSubstring<_CharT, _Alloc>:: ...
^
ext-inst.cc:19:31: note: declared at
template <class _CharT, class _Alloc> void
_Rope_RopeRep<_CharT, _Alloc>:: ...
^
8 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