]> git.ipfire.org Git - thirdparty/gcc.git/commit
Objective-C/C++: Enable Wignored-attributes.
authorIain Sandoe <iain@sandoe.co.uk>
Mon, 13 Oct 2025 05:57:55 +0000 (06:57 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Mon, 13 Oct 2025 06:03:12 +0000 (07:03 +0100)
commit5b57da59c12e69072a0ccf86bd83830a3c5d5cc6
treedd5878fb735a492a9f002ac1cf86764a62a0e836
parent5509927de9f74e42fda45867595a22cdd0bacbee
Objective-C/C++: Enable Wignored-attributes.

r16-4373 altered headers so that Wignored-attributes was named in
a diagnostic push.  This causes several Objective-C++ tests to fail
since the atomicity.h header is included there.

Since Objective-C/C++ are intended to be supersets of the base
language, there is no specific reason to exclude this warning there.

gcc/c-family/ChangeLog:

* c.opt: Enable Wignored-attributes for Objective-C and
Objective-C++.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
gcc/c-family/c.opt