[Bug c++/103566] confusing error message for typedefs with initializers
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Dec 7 01:34:33 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103566
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=7353
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
yes there used to be an (undocumented) GNU extension which was removed in GCC
3.2 (it caused ICE in GCC 3.1 but was ok for GCC 3.0), see PR 7353.
The extension was:
typedef A = 0;
Which would be similar to:
typedef decltype(0) A;
Confirmed.
More information about the Gcc-bugs
mailing list