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 60978


Hi,

another simple issue: this one argues that the warning is overeager when anonymous enums are involved, which often are just used as named constants. Details: maybe write the conditional in a different way; maybe even use && instead of ||. Tested x86_64-linux.

Thanks,
Paolo.

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

Attachment: CL_60978
Description: Text document

Attachment: patch_60978
Description: Text document


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