[Bug c++/54158] [4.6, 4.7, 4.8 Regression] Silently accepts sizeof to non-static member without object in C++03 mode
ai.azuma at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Aug 3 02:06:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54158
--- Comment #5 from Ai Azuma <ai.azuma at gmail dot com> 2012-08-03 02:05:45 UTC ---
Well, I'm a bit confused. So I would like to make sure some points.
> Ah, it was changed by a DR
> (http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#613) not a C++11
> proposal, so supporting it in C++03 mode is probably intentional.
The proposed resolution for DRs on 03's wording with "Status: CD1" is not
considered as a part of C++11, right?
And GCC's `-std=c++03' intentionally includes such proposed resolutions, right?
More information about the Gcc-bugs
mailing list