public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/14668] New: declaration of `A*B::A' changes meaning of `A' from `class A'...
@ 2004-03-21 13:09 pluto at ds14 dot agh dot edu dot pl
  2004-03-21 15:13 ` [Bug c++/14668] " gdr at integrable-solutions dot net
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: pluto at ds14 dot agh dot edu dot pl @ 2004-03-21 13:09 UTC (permalink / raw)
  To: gcc-bugs

class A {}; 
class B { 
  static A *A; 
}; 
A *B::A = 0; 
 
g++3.4-20040317 compiles code without errors. 
g++3.3 reports error: declaration of `A*B::A' changes meaning of `A' from 
`class A' 
 
which behavior is correct?

-- 
           Summary: declaration of `A*B::A' changes meaning of `A' from
                    `class A'...
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pluto at ds14 dot agh dot edu dot pl
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: pentium3-pld-linux
  GCC host triplet: pentium3-pld-linux
GCC target triplet: pentium3-pld-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14668


^ permalink raw reply	[flat|nested] 11+ messages in thread
[parent not found: <20040321130905.14668.pluto@pld-linux.org>]

end of thread, other threads:[~2004-05-28 20:18 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-21 13:09 [Bug c++/14668] New: declaration of `A*B::A' changes meaning of `A' from `class A' pluto at ds14 dot agh dot edu dot pl
2004-03-21 15:13 ` [Bug c++/14668] " gdr at integrable-solutions dot net
2004-03-21 15:15 ` [Bug c++/14668] [3.4/3.5 Regression] " pinskia at gcc dot gnu dot org
2004-03-24 23:23 ` bangerth at dealii dot org
2004-03-25  0:22 ` gdr at integrable-solutions dot net
2004-03-25  4:47 ` [Bug c++/14668] [3.4/3.5 Regression] no warning anymore for reevaluation of declaration bangerth at dealii dot org
2004-05-25  1:27 ` mmitchel at gcc dot gnu dot org
     [not found] <20040321130905.14668.pluto@pld-linux.org>
2004-05-29 11:56 ` cvs-commit at gcc dot gnu dot org
2004-05-29 12:35 ` cvs-commit at gcc dot gnu dot org
2004-05-29 12:35 ` cvs-commit at gcc dot gnu dot org
2004-05-29 13:36 ` mmitchel at gcc dot gnu dot org

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).