chiark / gitweb /
completion: don't offer completions for journalctl -b
[elogind.git] / configure.ac
index 9a32d9c8b6333db21c5dd8e134db3c0cc61fc11a..86eebce684e70ef70e4d2289e5ef894ca0b67e9d 100644 (file)
@@ -127,6 +127,9 @@ CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\
         -Winit-self \
         -Wdeclaration-after-statement \
         -Wfloat-equal \
+        -Wsuggest-attribute=pure \
+        -Wsuggest-attribute=const \
+        -Wsuggest-attribute=noreturn \
         -Wmissing-prototypes \
         -Wstrict-prototypes \
         -Wredundant-decls \
@@ -144,6 +147,7 @@ CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\
         -Wno-unused-result \
         -Werror=overflow \
         -Wdate-time \
+        -Wnested-externs \
         -ffast-math \
         -fno-common \
         -fdiagnostics-show-option \