]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
build: remove no longer needed -Wno flags
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 4 Nov 2024 18:55:48 +0000 (18:55 +0000)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Fri, 8 Nov 2024 17:31:29 +0000 (11:31 -0600)
Nearly all the -Wno flags are not applicable any more - remove them.

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

index 486795eeb4d98cee2f92dc63d4c7e58e67147c9f..075e98bb67582de30ab853440942e57eb124b1a9 100644 (file)
@@ -261,7 +261,6 @@ CC_CHECK_FLAGS_APPEND(with_cflags, [CFLAGS], [\
                       -Wall \
                       -W \
                       -Wextra \
-                      -Wno-inline \
                       -Wvla \
                       -Wundef \
                       -Wformat=2 \
@@ -284,10 +283,7 @@ CC_CHECK_FLAGS_APPEND(with_cflags, [CFLAGS], [\
                       -Wendif-labels \
                       -Wstrict-aliasing=3 \
                       -Wwrite-strings \
-                      -Wno-long-long \
-                      -Wno-overlength-strings \
                       -Wno-unused-parameter \
-                      -Wno-missing-field-initializers \
                       -Wnested-externs \
                       -Wchar-subscripts \
                       -Wtype-limits \
index a315cef8e41006c04bb356c1c750fa427a61b5b2..1bd686ba39452aad46ab351326831f7a62c5e01d 100644 (file)
@@ -112,7 +112,6 @@ endif
 
 add_project_arguments(
   cc.get_supported_arguments([
-    '-Wno-inline',
     '-Wvla',
     '-Wundef',
     '-Wformat=2',
@@ -135,10 +134,7 @@ add_project_arguments(
     '-Wendif-labels',
     '-Wstrict-aliasing=3',
     '-Wwrite-strings',
-    '-Wno-long-long',
-    '-Wno-overlength-strings',
     '-Wno-unused-parameter',
-    '-Wno-missing-field-initializers',
     '-Wnested-externs',
     '-Wchar-subscripts',
     '-Wtype-limits',