[LLVMbugs] [Bug 7862] New: implicit instantiation of undefined template...
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Aug 10 03:34:49 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=7862
Summary: implicit instantiation of undefined template...
Product: clang
Version: trunk
Platform: Macintosh
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: Fons.Rademakers at cern.ch
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
Created an attachment (id=5358)
--> (http://llvm.org/bugs/attachment.cgi?id=5358)
Source file exhibiting the problem
Doing clang++ -c aap.cxx fails:
(proof) [425] clang++ -c aap.cxx
In file included from stressMathCore.cxx:1:
In file included from stressMathCore.cxx:84:
In file included from /Users/rdm/rooticc/include/Math/SVector.h:356:
In file included from /Users/rdm/rooticc/include/Math/BinaryOperators.h:22:
In file included from /Users/rdm/rooticc/include/Math/BinaryOpPolicy.h:22:
/Users/rdm/rooticc/include/Math/MatrixRepresentationsStatic.h:295:56: error:
implicit instantiation of undefined template
'ROOT::Math::CompileTimeError<0>'
...!= 0)> ERROR_Cannot_assign_general_to_symmetric_matrix_representation; ...
^
In file included from stressMathCore.cxx:1:
In file included from stressMathCore.cxx:84:
In file included from /Users/rdm/rooticc/include/Math/SVector.h:349:
In file included from /Users/rdm/rooticc/include/Math/SVector.icc:38:
/Users/rdm/rooticc/include/Math/StaticCheck.h:47:26: note: template is declared
here
template<int> struct CompileTimeError;
^
etc. etc.
While g++ -c aap.cxx compiles fine.
Cheers, Fons.
--
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