|
@@ -14,6 +14,8 @@ and uses it to detect if the -Wunused-but-set-variable option is
|
|
supported, and only uses it in this case.
|
|
supported, and only uses it in this case.
|
|
|
|
|
|
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
|
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
|
|
|
+(rebased against v0.1.0)
|
|
|
|
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
|
---
|
|
---
|
|
Makefile.am | 2 +-
|
|
Makefile.am | 2 +-
|
|
configure.ac | 3 ++
|
|
configure.ac | 3 ++
|
|
@@ -29,11 +31,11 @@ index 5d23e0b..0f51f6a 100644
|
|
-Wnested-externs -Wstrict-prototypes -Wunsafe-loop-optimizations \
|
|
-Wnested-externs -Wstrict-prototypes -Wunsafe-loop-optimizations \
|
|
-Wwrite-strings -Wno-missing-field-initializers -Wno-unused-parameter \
|
|
-Wwrite-strings -Wno-missing-field-initializers -Wno-unused-parameter \
|
|
-Wcast-align -Wformat-nonliteral -Wformat-security -Wswitch-default \
|
|
-Wcast-align -Wformat-nonliteral -Wformat-security -Wswitch-default \
|
|
-- -Wmissing-include-dirs -Waggregate-return -Wunused-but-set-variable \
|
|
|
|
-+ -Wmissing-include-dirs -Waggregate-return @GCC_WARN_UNUSED_BUT_SET@ \
|
|
|
|
|
|
+- -Wmissing-include-dirs -Wno-aggregate-return -Wunused-but-set-variable \
|
|
|
|
++ -Wmissing-include-dirs -Wno-aggregate-return @GCC_WARN_UNUSED_BUT_SET@ \
|
|
-Warray-bounds -Wold-style-definition -Wsign-compare -Wlarger-than=65537
|
|
-Warray-bounds -Wold-style-definition -Wsign-compare -Wlarger-than=65537
|
|
AM_CFLAGS += -Wno-undef # sophiasip is not -Wundef--safe
|
|
AM_CFLAGS += -Wno-undef # sophiasip is not -Wundef--safe
|
|
- AM_CFLAGS += -Wredundant-decls # sophiasip also contains redundant declarations
|
|
|
|
|
|
+ AM_CFLAGS += -Wno-redundant-decls # sophiasip also contains redundant declarations
|
|
diff --git a/configure.ac b/configure.ac
|
|
diff --git a/configure.ac b/configure.ac
|
|
index 17870a7..f9bb1e4 100644
|
|
index 17870a7..f9bb1e4 100644
|
|
--- a/configure.ac
|
|
--- a/configure.ac
|