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: "frankhb1989 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 25 Apr 2015 17:49:17 +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 #1 from frankhb1989 at gmail dot com ---
Oops, wrong version of case pasted ... I once wanted to use this minimal one:
sizeof(Tag::m);
Nevertheless, the conclusion is the same for this issue.
(There are other mess, e.g. Clang++ 3.6 wrongly interpret 'decltype(&(Tag::m))'
as pointer to member but I think G++ is right here).