This is the mail archive of the gcc-prs@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]

Re: c++/921


The following reply was made to PR c++/921; it has been noted by GNATS.

From: nathan@gcc.gnu.org
To: ejm@onmedia.com, gcc-gnats@gcc.gnu.org, nobody@gcc.gnu.org
Cc:  
Subject: Re: c++/921
Date: 5 Jan 2001 16:24:00 -0000

 Synopsis: 2.95.2 generates incorrect ref to static initialized char[] in classes. 2.8.1 works fine
 
 State-Changed-From-To: open->closed
 State-Changed-By: nathan
 State-Changed-When: Fri Jan  5 08:23:59 2001
 State-Changed-Why:
     Not a bug, you have no definition ox X::xyz in the complete
     program -- only it's declaration inside X. see 9.4.2/2
     of the standard. You need to say somewhere outside of X
     char const* X::xyz;
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=921&database=gcc

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