diff options
author | Andreas Jaeger <aj@suse.de> | 2001-08-10 10:56:47 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2001-08-10 10:56:47 +0000 |
commit | 0218d1e4c25fb3aecc216393a6b3de08dd88d310 (patch) | |
tree | 075eb6574cacb2000ebf0ef84f617be6ca50b4b7 /bfd | |
parent | fb6e5c55206f732aac9f05cddacb29e46f43e5c0 (diff) | |
download | gdb-0218d1e4c25fb3aecc216393a6b3de08dd88d310.zip gdb-0218d1e4c25fb3aecc216393a6b3de08dd88d310.tar.gz gdb-0218d1e4c25fb3aecc216393a6b3de08dd88d310.tar.bz2 |
* configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
to build warnings.
* configure: Regenerate.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 6 | ||||
-rwxr-xr-x | bfd/configure | 2 | ||||
-rw-r--r-- | bfd/configure.in | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 51d3acb..67ed4ed 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2001-08-10 Andreas Jaeger <aj@suse.de> + + * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes + to build warnings. + * configure: Regenerate. + 2001-08-10 Alan Modra <amodra@bigpond.net.au> * elf.c (bfd_elf_sprintf_vma): Add ATTRIBUTE_UNUSED to quiet diff --git a/bfd/configure b/bfd/configure index 06ae551..edc3300 100755 --- a/bfd/configure +++ b/bfd/configure @@ -2269,7 +2269,7 @@ else want_mmap=false fi -build_warnings="-W -Wall" +build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes" # Check whether --enable-build-warnings or --disable-build-warnings was given. if test "${enable_build_warnings+set}" = set; then enableval="$enable_build_warnings" diff --git a/bfd/configure.in b/bfd/configure.in index 917fe3a..a8ca461 100644 --- a/bfd/configure.in +++ b/bfd/configure.in @@ -50,7 +50,7 @@ AC_ARG_WITH(mmap, *) AC_MSG_ERROR(bad value ${withval} for BFD with-mmap option) ;; esac],[want_mmap=false])dnl -build_warnings="-W -Wall" +build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes" AC_ARG_ENABLE(build-warnings, [ --enable-build-warnings Enable build-time compiler warnings if gcc is used], [case "${enableval}" in |