configure: enable -Wformat=2
[lttng-tools.git] / configure.ac
index 083ec34f3cd3023b7e93fbf4be42705aa16f4d21..ae4374dca6188789550573a29978989e905b53d7 100644 (file)
@@ -72,6 +72,7 @@ m4_define([WARN_FLAGS_LIST], [ dnl
   -Wshadow dnl
   -Wno-gnu-folding-constant dnl
   -Wsuggest-attribute=format dnl
+  -Wformat=2 dnl
   dnl GCC enables this with -Wall in C++, and that generates a
   dnl lot of warnings that have on average a low value to fix.
   -Wno-sign-compare dnl
This page took 0.02264 seconds and 4 git commands to generate.