]> git.ipfire.org Git - thirdparty/linux.git/commit
kbuild: uapi: also test UAPI headers against C++ compilers
authorThomas Weißschuh <linux@weissschuh.net>
Mon, 16 Mar 2026 16:52:02 +0000 (17:52 +0100)
committerNicolas Schier <nsc@kernel.org>
Wed, 25 Mar 2026 12:24:42 +0000 (13:24 +0100)
commitdcc99abebfa1e9ca70f8af8695b6682ad7597bf2
treea3fddee07fa902d300eda310074c9d722c6524ee
parentb187c1a1a0513593663b1adee0340d41d833d16d
kbuild: uapi: also test UAPI headers against C++ compilers

C++ language requirements differ from those of C.

Also test the headers against C++ compilers to make sure no errors
creep in accidentally.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Link: https://patch.msgid.link/20260316-kbuild-uapi-c-v2-5-35d6d0ed863f@weissschuh.net
Signed-off-by: Nicolas Schier <nsc@kernel.org>
usr/include/Makefile