From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14569 invoked by alias); 19 May 2003 09:26:02 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 14534 invoked by uid 71); 19 May 2003 09:26:01 -0000 Resent-Date: 19 May 2003 09:26:01 -0000 Resent-Message-ID: <20030519092601.14533.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, derrick@cco.caltech.edu Received: (qmail 1390 invoked by uid 48); 19 May 2003 09:19:34 -0000 Message-Id: <20030519091934.1389.qmail@sources.redhat.com> Date: Mon, 19 May 2003 09:26:00 -0000 From: derrick@cco.caltech.edu Reply-To: derrick@cco.caltech.edu To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c++/10854: "XXX is private within this context" when trying to specialize private member template X-SW-Source: 2003-05/txt/msg02061.txt.bz2 List-Id: >Number: 10854 >Category: c++ >Synopsis: "XXX is private within this context" when trying to specialize private member template >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: rejects-legal >Submitter-Id: net >Arrival-Date: Mon May 19 09:26:00 UTC 2003 >Closed-Date: >Last-Modified: >Originator: Derrick Bass >Release: gcc-3.3 >Organization: >Environment: >Description: When this code is compiled: class X { private: template struct Y; }; template<> struct X::Y { }; gcc 3.3 gives the following error: privatetest.cc:4: error: `template struct X::Y' is private privatetest.cc:8: error: within this context Previous versions of gcc accept the code (well, 3.1 and 3.2.2 definitely). >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: