This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/65890] [C++03]sizeof(qualified-id) accepted when the operand denotes a non-static member
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 26 Apr 2015 12:56:53 +0000
- Subject: [Bug c++/65890] [C++03]sizeof(qualified-id) accepted when the operand denotes a non-static member
- Auto-submitted: auto-generated
- References: <bug-65890-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65890
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
This was changed by
http://open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#613
It was a defect in the original standard. What possible advantage is there in
rejecting it in C++03 mode but accepting it in C++11 mode? i.e. why do you
consider this a bug?