This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi,this is also by and large fixed, but we can do a bit better in terms of not producing a:
error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]
after a meaningful error. In grokdeclarator there is already a mechanism to suppress those, but in cp_parser_parameter_declaration we fail to check the return value cp_parser_parse_and_diagnose_invalid_type_name.
Tested x86_64-linux. Thanks, Paolo. ////////////////////////
Attachment:
CL_12288
Description: Text document
Attachment:
patch_12288
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |