parser.c (cp_parser_cast_expression): Add target type of cast to diagnostic.
* parser.c (cp_parser_cast_expression): Add target type of cast to diagnostic. * error.c (type_to_string): Add '{enum}' suffix to enumeration types. * g++.dg/cpp1z/direct-enum-init1.C: Adjust for more verbose enum diagnostics. * g++.dg/warn/pr12242.C: Likewise. From-SVN: r247347
Showing
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment