public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/10887: [3.3/3.4 regression] specialization of private members structs fails
@ 2003-05-20 21:36 Matthias Klose
  0 siblings, 0 replies; 2+ messages in thread
From: Matthias Klose @ 2003-05-20 21:36 UTC (permalink / raw)
  To: gcc-gnats, debian-gcc


>Number:         10887
>Category:       c++
>Synopsis:       [3.3/3.4 regression] specialization of private members structs fails
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          rejects-legal
>Submitter-Id:   net
>Arrival-Date:   Tue May 20 21:36:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Herbert Valerio Riedel <hvr@se-linux.ifs.tuwien.ac.at>
>Release:        3.3 (Debian) (Debian testing/unstable)
>Organization:
The Debian Project
>Environment:
>Description:
 [ Reported to the Debian BTS as report #193830.
   Please CC 193830@bugs.debian.org on replies.
   Log of report can be found at http://bugs.debian.org/193830 ]
	

3.3 and 3.4 CVS 20030501 fail to compile the following code (which
would compile with previous g++ versions):

$ cat in_class_class.cc
class Foo {
  template <class T> struct InFoo;
};

template<>
struct Foo::InFoo<int> {
    // ...
};
$ g++ -c in_class_class.cc
in_class_class.cc:2: error: `template<class T> struct Foo::InFoo' is private
in_class_class.cc:6: error: within this context
$

>How-To-Repeat:
	
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: c++/10887: [3.3/3.4 regression] specialization of private members structs fails
@ 2003-05-20 21:46 bangerth
  0 siblings, 0 replies; 2+ messages in thread
From: bangerth @ 2003-05-20 21:46 UTC (permalink / raw)
  To: 193830, gcc-bugs, gcc-prs, hvr, nobody

Synopsis: [3.3/3.4 regression] specialization of private members structs fails

State-Changed-From-To: open->closed
State-Changed-By: bangerth
State-Changed-When: Tue May 20 21:46:08 2003
State-Changed-Why:
    This is a duplicate of 10849, which Giovanni filed a couple
    of days ago.
    
    W.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10887


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-05-20 21:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-20 21:36 c++/10887: [3.3/3.4 regression] specialization of private members structs fails Matthias Klose
2003-05-20 21:46 bangerth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).