;)':
a.cpp:(.text._ZN1AIiEC2ERKS0_[A::A(A const&)]+0x1a): undefined
reference to `vtable for A'
a.o:a.cpp:(.text._ZN1AIiEC2ERKS0_[A::A(A const&)]+0x1e): more
undefined references to `vtable for A' follow
collect2: ld returned 1 exit status
--
Summary: extern
--- Comment #1 from hstong at ca dot ibm dot com 2008-12-23 21:34 ---
Created an attachment (id=16975)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16975&action=view)
Original test case
Original test case entered in description.
--
http://gcc.gnu.org/bugzilla/show_
--- Comment #4 from hstong at ca dot ibm dot com 2008-12-23 22:57 ---
The proposed wording (N1987) for 14.7.2 paragraph 7 says:
An explicit instantiation declaration that names a class template
specialization has no effect on the class template specialization itself
(except for perhaps
--- Comment #6 from hstong at ca dot ibm dot com 2008-12-24 00:04 ---
(In reply to comment #5)
If you mean the lack of a diagnostic for a violation of a diagnosable rule in
the following self-contained source, then yes. (Comeau produces a diagnostic
for this violation of N2800 14.7.2
ssigned at gcc dot gnu dot org
ReportedBy: hstong at ca dot ibm dot com
GCC build triplet: powerpc64-suse-linux
GCC host triplet: powerpc64-suse-linux
GCC target triplet: powerpc64-suse-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39786
roduct: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hstong at ca dot ibm dot com
GCC host triplet: powerpc64-unknown-linux-gnu
GCC target triplet: powerpc64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44996
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hstong at ca dot ibm dot com
GCC host triplet: powerpc64-unknown-linux-gnu
GCC target triplet: powerpc64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45401