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, On 06/13/2014 06:09 PM, Jason Merrill wrote:
On 06/13/2014 06:58 AM, Paolo Carlini wrote:+ error_at (DECL_SOURCE_LOCATION (decl), + "invalid use of typedef-name for type " + "%<void%> in parameter declaration"); + else if (cv_qualified_p (type)) + error_at (DECL_SOURCE_LOCATION (decl), + "invalid use of cv-qualified type %<void%> " + "in parameter declaration");Let's also print the type in these errors.
Right. I'm finishing testing the below. Paolo. ///////////////////////
Attachment:
patch_33101_6
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |