X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=configure.ac;h=e637b683add06f362dbd1cf76abc06083532ae6c;hb=7dc59fc4a38b6032158d2551cd3c449fe5e87e62;hp=687e1441fc3788146d04bf1da05acb730666dc39;hpb=45e6e688b16d4653e8b8f2707f1e2c1e041b7261;p=libsigrokflow.git diff --git a/configure.ac b/configure.ac index 687e144..e637b68 100644 --- a/configure.ac +++ b/configure.ac @@ -74,7 +74,7 @@ SR_ARG_OPT_PKG([libsigrokcxx], [LIBSIGROKCXX], , [libsigrokcxx >= 0.5.1]) SR_ARG_OPT_PKG([libsigrokdecode], [LIBSIGROKDECODE], , [libsigrokdecode >= 0.5.1]) AC_LANG([C++]) -SR_ARG_ENABLE_WARNINGS([SRF_WXXFLAGS], [-Wall], [-Wall -Wextra]) +SR_ARG_ENABLE_WARNINGS([SRF_WXXFLAGS], [-Wall], [-Wall -Wextra -Wformat-security]) # Check if the C++ compiler supports the C++11 standard. AX_CXX_COMPILE_STDCXX([11], [noext], [mandatory])