c++/9554: Out of class declaration of member class template specialisation rejected
vlukas@gmx.de
vlukas@gmx.de
Mon Feb 3 20:16:00 GMT 2003
>Number: 9554
>Category: c++
>Synopsis: Out of class declaration of member class template specialisation rejected
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: rejects-legal
>Submitter-Id: net
>Arrival-Date: Mon Feb 03 20:16:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Volker Lukas
>Release: 3.4 20030129 (experimental)
>Organization:
>Environment:
System: Linux thunderbird 2.4.20 #1 Sat Jan 11 12:08:38 CET 2003 i686 unknown
Architecture: i686
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ./configure --prefix=/usr/local/gcc_newparser --enable-threads --disable-libgcj --enable-languages=c,c++ --disable-nls
>Description:
The compiler rejects an out of class declaration of an explicit specialisation of a member class template, complaining about privateness of that template.
This is a regression from an earlier gcc 3.2.2 snapshot.
>How-To-Repeat:
compiling the attached code with gcc 3.4 20030129
>Fix:
compiling with option "-fno-access-control"
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/x-csrc; name="test.ii"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="test.ii"
IyAxICJ0ZXN0MS5jcHAiCiMgMSAiPGJ1aWx0LWluPiIKIyAxICI8Y29tbWFuZCBsaW5lPiIKIyAx
ICJ0ZXN0MS5jcHAiCgpjbGFzcyBlbmNsb3NlCnsKdGVtcGxhdGU8dHlwZW5hbWUgVD4Kc3RydWN0
IGVuY2xvc2VkOwp9OwoKCnRlbXBsYXRlIDw+CnN0cnVjdCBlbmNsb3NlOjplbmNsb3NlZDxpbnQ+
Owo=
More information about the Gcc-bugs
mailing list