http://llvm.org/bugs/show_bug.cgi?id=20560
Bug ID: 20560
Summary: Valid C++ fails to compile when skipfunctionbodies is
specified
Product: clang
Version: trunk
Hardware: PC
OS: Windows XP
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Created attachment 12860
--> http://llvm.org/bugs/attachment.cgi?id=12860&action=edit
Testcase which fails to compile with SkipFunctionBodies
I'm writing a clang tool and I'd like to use the SkipFunctionBodies option for
simplicity as I only want to look at global variables and decalarations.
The compile however fails with the following error:
templatetest.cpp:14:26: error: explicit instantiation of undefined member
function 'TVector3' of class
template 'VirtaMed::TVector3<float>'
template class VirtaMed::TVector3<float>;
^
templatetest.cpp:11:15: note: explicit instantiation refers here
TVector3<T>::TVector3() { }
^
--
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