[Bug c++/32402] Error while allocating array of pointers to objects of a pure virtual class
paolo.carlini at oracle dot com
gcc-bugzilla@gcc.gnu.org
Sun Aug 10 08:47:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32402
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|gcc-bugs at gcc dot gnu.org |
--- Comment #14 from Paolo Carlini <paolo.carlini at oracle dot com> ---
The parser gets confused when in cp_parser_new_expression it tries first a
cp_parser_new_placement: the bogus error is produced as part of that. As a
parenthesized type-id, 'pure (*[3])' is normally accepted.
More information about the Gcc-bugs
mailing list