]> git.ipfire.org Git - thirdparty/kmod.git/commit
Globally silence all Wattribute warnings
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 16 Jun 2025 17:10:08 +0000 (18:10 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Tue, 8 Jul 2025 12:17:14 +0000 (07:17 -0500)
commit11553144caa89d026da60d6f676a44b15442f1b7
treebd2fb38666be1c9bcc5b40dfef1e99e8c1dfbb35
parent3f8ec4d85922c5a59b53e043c4b6f01bed16eb1d
Globally silence all Wattribute warnings

Instead of playing a game of whack-a-mole, disable any -Wattribute
warnings globally. This means, people won't get the warnings when
building with older compilers which lack certain attributes.

Thus we can remove the _Pragma. With that gone, we no longer need the
clang-format off segment.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/376
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
meson.build
testsuite/testsuite.h