]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
configure.ac: increased stack size usage to reduce warnings
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Thu, 19 May 2016 10:08:13 +0000 (12:08 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Fri, 20 May 2016 11:12:24 +0000 (13:12 +0200)
Also remove gcc flags from the banned list that no longer pose
and issue.

configure.ac

index 67ff1e2d87fa6c466950f271e841d56c8520663d..6ab9cdcbf7ec5ca7b27c47f10b240803f0cbce75 100644 (file)
@@ -330,7 +330,7 @@ AC_ARG_ENABLE([gcc-warnings],
 )
 
 if test "$gl_gcc_warnings" = yes; then
-  gl_WARN_ADD([-Wframe-larger-than=2048], [WSTACK_CFLAGS])
+  gl_WARN_ADD([-Wframe-larger-than=4096], [WSTACK_CFLAGS])
 
   nw="$nw -Wsystem-headers"         # Don't let system headers trigger warnings
   nw="$nw -Wc++-compat"             # We don't care about C++ compilers
@@ -358,15 +358,8 @@ if test "$gl_gcc_warnings" = yes; then
   for w in $ws; do
     gl_WARN_ADD([$w])
   done
-  gl_WARN_ADD([-Wno-parentheses-equality]) # We need this one for clang warnings
-  gl_WARN_ADD([-Wno-tautological-compare]) # We need this one for clang warnings
   gl_WARN_ADD([-Wno-missing-field-initializers]) # We need this one
-  gl_WARN_ADD([-Wno-format-y2k])     # Too many warnings for now
-  gl_WARN_ADD([-Wno-unused-value]) # warnings for things we don't want to get
-  gl_WARN_ADD([-Wno-unused-result]) # warnings for things we don't want to get
   gl_WARN_ADD([-Wno-unused-parameter]) # Too many warnings for now
-  gl_WARN_ADD([-Wno-stack-protector])  # Some functions cannot be protected
-  gl_WARN_ADD([-Wno-int-to-pointer-cast])  # Some files cannot be compiled with that (gl_fd_to_handle)
   gl_WARN_ADD([-fdiagnostics-show-option])
 fi