https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111654

--- Comment #8 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Julian Waters from comment #7)
> I recently stumbled upon -Wno-attributes, which can apparently take a
> parameter like -Wno-attributes=vendor:: and I think that's appropriate for
> this particular situation. How does -Wno-invalid-noreturn,
> -Wno-invalid-noreturn=explicit and -Wno-invalid-noreturn=implicit sound?

I personally would just prefer hyphenated options, instead of using the equals
sign for this. Having separate hyphenated options has the benefit of being
individually toggleable, controllable by pragmas, and showing up properly in
the diagnostic output.

Reply via email to