This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

c++/9554: Out of class declaration of member class template specialisation rejected


>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=


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]