build: enable the -Wpointer-sign gcc warning
authorPádraig Brady <P@draigBrady.com>
Mon, 25 Oct 2010 10:16:37 +0000 (11:16 +0100)
committerPádraig Brady <P@draigBrady.com>
Tue, 16 Nov 2010 00:05:41 +0000 (00:05 +0000)
... when configured with the --enable-gcc-warnings option.
This follows on from commit 34ef0a01, 2010-10-14,
"sort: fix unportable cast of unsigned char * -> char *"

* configure.ac: -Wall implicitly enables this warning
so remove the explicit disabling.

configure.ac

index 4ac30e8..7101847 100644 (file)
@@ -98,7 +98,6 @@ if test "$gl_gcc_warnings" = yes; then
   done
   gl_WARN_ADD([-Wno-missing-field-initializers]) # We need this one
   gl_WARN_ADD([-Wno-sign-compare])     # Too many warnings for now
-  gl_WARN_ADD([-Wno-pointer-sign])     # Too many warnings for now
   gl_WARN_ADD([-Wno-unused-parameter]) # Too many warnings for now
 
   # In spite of excluding -Wlogical-op above, it is enabled, as of