chiark / gitweb /
build-sys: minor fixes found with cppcheck
[elogind.git] / configure.ac
index f85e86e52bf8b68cceac1cf3c5af536e7a14490a..efca1a7d3a4c6a9be868de06cad4311f55704e10 100644 (file)
@@ -127,6 +127,7 @@ CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\
         -Winit-self \
         -Wdeclaration-after-statement \
         -Wfloat-equal \
+        -Wsuggest-attribute=noreturn \
         -Wmissing-prototypes \
         -Wstrict-prototypes \
         -Wredundant-decls \
@@ -143,6 +144,8 @@ CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\
         -Wno-missing-field-initializers \
         -Wno-unused-result \
         -Werror=overflow \
+        -Wdate-time \
+        -Wnested-externs \
         -ffast-math \
         -fno-common \
         -fdiagnostics-show-option \