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]

Re: [C++ Patch] PR 32054


Hi,

On 05/25/2012 06:25 PM, Jason Merrill wrote:
On 05/24/2012 10:57 PM, Paolo Carlini wrote:
+        error_at (decl_spec_token_start->location,
+              "a storage class is not allowed");

Let's give more explanation here so that the user knows that the problem is a storage class on an anonymous union/struct in class scope.
Good, then I propose the below, using the form "anonymous aggregate", because - I didn't know - we are already using it in error messages elsewhere, in decl.c too.

Thanks,
Paolo.

////////////////////

Attachment: patch_32054_2
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]