https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111654
--- Comment #7 from Julian Waters <tanksherman27 at gmail dot com> --- 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? But I have no idea how to implement this type of option within gcc, any advice?