public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/16782] New: Accepts qualified member function declaration in class
@ 2004-07-27 13:16 bangerth at dealii dot org
  2004-07-27 13:43 ` [Bug c++/16782] " lindahl at pathscale dot com
                   ` (18 more replies)
  0 siblings, 19 replies; 20+ messages in thread
From: bangerth at dealii dot org @ 2004-07-27 13:16 UTC (permalink / raw)
  To: gcc-bugs

This is spinoff #2 from 16777: we accept this piece of code: 
------------------------ 
struct X { 
    void X::bar() {} 
}; 
------------------------ 
I'm not sure we should. icc8 gives this message: 
g/x> icc -Xc -ansi -c x.cc 
x.cc(2): warning #470: qualified name is not allowed in member declaration 
      void X::bar() {} 
           ^ 
 
 
Can someone point me to the part of the standard that clarifies this? 
 
W.

-- 
           Summary: Accepts qualified member function declaration in class
           Product: gcc
           Version: 3.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bangerth at dealii dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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

end of thread, other threads:[~2005-09-28 15:13 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-27 13:16 [Bug c++/16782] New: Accepts qualified member function declaration in class bangerth at dealii dot org
2004-07-27 13:43 ` [Bug c++/16782] " lindahl at pathscale dot com
2004-08-16  0:25 ` giovannibajo at libero dot it
2005-09-14 22:43 ` mmitchel at gcc dot gnu dot org
2005-09-14 22:58 ` bangerth at dealii dot org
2005-09-14 23:04 ` gdr at integrable-solutions dot net
2005-09-15  8:59 ` nathan at gcc dot gnu dot org
2005-09-15 12:40 ` dank at kegel dot com
2005-09-15 13:04 ` nathan at gcc dot gnu dot org
2005-09-15 13:09 ` dank at kegel dot com
2005-09-15 13:11 ` dank at kegel dot com
2005-09-15 14:24 ` jason at redhat dot com
2005-09-15 16:49 ` dank at kegel dot com
2005-09-15 17:50 ` jason at redhat dot com
2005-09-15 19:34 ` gdr at integrable-solutions dot net
2005-09-15 21:39 ` dank at kegel dot com
2005-09-27 23:37 ` mmitchel at gcc dot gnu dot org
2005-09-28 14:51 ` cvs-commit at gcc dot gnu dot org
2005-09-28 14:51 ` mmitchel at gcc dot gnu dot org
2005-09-28 15:13 ` 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).