This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16782] Accepts qualified member function declaration in class
- From: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Sep 2005 22:43:06 -0000
- Subject: [Bug c++/16782] Accepts qualified member function declaration in class
- References: <20040727131653.16782.bangerth@dealii.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From mmitchel at gcc dot gnu dot org 2005-09-14 22:43 -------
G++ will issue a diagnostic about this usage with -pedantic.
The decision not to issue a diagnostic in the default mode is conscious and
intentional; G++ has historically accepted this code, and there is no semantic
problem with accepting it. There are some members of the GCC community that are
very much opposed to making the compiler stricter in the default mode.
Jason, Nathan, do you think we should turn this diagnostic on by default (as a
pedwarn), or just close this PR? If the latter, should we document this extension?
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at redhat dot com,
| |nathan at codesourcery dot
| |com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16782