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]

[C++ Patch] PR 32054


Hi,

another simple issue, this one remained assigned to me for a while ;) Anyway, we are not rejecting storage classes for anonymous unions in class scope. Details: I'm handling anonymous structs in the same way, for consistency (but in principle being an extension we could do nothing); the error message I choose is quite terse (essentially the beginning of the Standard wording about this issue); in terms of testing, auto is of course special in C++11 (I could also, for example, wrap the lines for the auto case in #ifndef __GXX_EXPERIMENTAL_CXX0X__)

Bootstrapped and tested x86_64-linux, as usual.

Thanks,
Paolo.

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

Attachment: CL_32054
Description: Text document

Attachment: patch_32054
Description: Text document


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