This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

[Bug c++/16782] Accepts qualified member function declaration in class


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


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