From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29450 invoked by alias); 8 Apr 2004 16:42:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 29307 invoked by uid 48); 8 Apr 2004 16:42:47 -0000 Date: Thu, 08 Apr 2004 16:42:00 -0000 Message-ID: <20040408164247.29305.qmail@sources.redhat.com> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040408163316.14891.gabriele.greco@darts.it> References: <20040408163316.14891.gabriele.greco@darts.it> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/14891] Problems with the initialization of static members of template classes X-Bugzilla-Reason: CC X-SW-Source: 2004-04/txt/msg00729.txt.bz2 List-Id: ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-04-08 16:42 ------- Invalid, you should do the following instead (it works on 3.3 also): template<> int Z::B::val = 666; // ERROR on GCC 3.4 -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14891