* configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes

to build warnings.
	* configure: Regenerate.
This commit is contained in:
Andreas Jaeger 2001-08-10 10:56:47 +00:00
parent fb6e5c5520
commit 0218d1e4c2
15 changed files with 815 additions and 817 deletions

View file

@ -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

2
bfd/configure vendored
View file

@ -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"

View file

@ -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

View file

@ -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-09 Alan Modra <amodra@bigpond.net.au>
* readelf.c: Add missing prototypes.
@ -102,10 +108,10 @@
(parse_args): Handle "-w[mM]" to mean display macro info.
(process_section_headers): Handle debug_macinfo.
(debug_displays): Replace unsupported function with macinfo
function for .debug_macinfo display.
function for .debug_macinfo display.
* doc/binutils.texi: Document new command line switch.
* NEWS: Document new feature of readelf.
2001-07-05 H.J. Lu <hjl@gnu.org>
* objcopy.c (filter_symbols): Don't turn undefined symbols

468
binutils/configure vendored

File diff suppressed because it is too large Load diff

View file

@ -29,7 +29,7 @@ AC_ARG_ENABLE(commonbfdlib,
*) AC_MSG_ERROR([bad value ${enableval} for BFD commonbfdlib option]) ;;
esac])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

View file

@ -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>
* as.h (alloca): Don't declare if __GNUC__. Remove an old comment.

342
gas/configure vendored

File diff suppressed because it is too large Load diff

View file

@ -44,7 +44,7 @@ esac])dnl
using_cgen=no
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

View file

@ -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-09 Alan Modra <amodra@bigpond.net.au>
* emultempl/elf32.em (output_prev_sec_find): Add missing prototype.

425
ld/configure vendored

File diff suppressed because it is too large Load diff

View file

@ -29,7 +29,7 @@ AC_ARG_ENABLE(64-bit-bfd,
*) AC_MSG_ERROR(bad value ${enableval} for 64-bit-bfd option) ;;
esac],[want64=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

View file

@ -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>
* ppc-opc.c: Revert 2001-08-08.

351
opcodes/configure vendored

File diff suppressed because it is too large Load diff

View file

@ -43,7 +43,7 @@ AC_ARG_ENABLE(commonbfdlib,
*) AC_MSG_ERROR([bad value ${enableval} for opcodes commonbfdlib option]) ;;
esac])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