]> Dogcows Code - chaz/tar/commit
build: new configure option --enable-gcc-warnings
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 19 Dec 2012 04:36:22 +0000 (20:36 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 19 Dec 2012 04:37:03 +0000 (20:37 -0800)
commitcbc51277aa4de1f41434ba073f2e4546ead63005
tree92caed5bf2d14bc762109b547173ea16c12b130e
parent8c0146d2c954c2b63e94695c95f0c7d56cc629ca
build: new configure option --enable-gcc-warnings

This has a similar meaning as in other GNU applications
such as coreutils and Emacs.
* NEWS: Document it.
* .gitignore: Remove redundant build-aux.
Remove gnu, since gnu/Makefile.am is now in git.
Add gnu/.gitignore, gnu/charset.alias, gnu/*.h, gnu/*/ to cover
autogenerated files.
* bootstrap.conf (gnulib_mk): Remove.
* configure.ac: Add support for --enable-gcc-warnings,
taken from coreutils and simplified.
* gnu/Makefile.am: New file.  Formerly this was autogenerated,
but the autogenerated file has been renamed to gnulib.mk,
its usual name when bootstrapping from gnulib.
This way, AM_CFLAGS can incorporate warning options.
* gnulib.modules: Add manywarnings.
* lib/Makefile.am, src/Makefile.am (AM_CFLAGS): New macro,
incorporating warning options.
* lib/attr-xattr.in.h (ENOATTR): New macro, if not already defined.
* src/buffer.c (magic): Don't rely on incomplete initializers.
* src/common.h (report_difference): Add printf format attribute.
* src/system.c (sys_exec_command, sys_exec_info_script)
(sys_exec_checkpoint_script):
* src/tar.c (update_argv):
Add casts to char * to pacify GCC warnings about using string
literals in a char * context.
* src/xattrs.c, src/xattrs.h (xattrs_clear_setup):
Declare parameters as (void), not ().
* src/xheader.c (xheader_format_name): Initialize pptr to null,
to pacify GCC.  Remove unnecessary test of nptr versus null.
16 files changed:
.gitignore
NEWS
bootstrap.conf
configure.ac
gnu/Makefile.am [new file with mode: 0644]
gnulib.modules
lib/Makefile.am
lib/attr-xattr.in.h
src/Makefile.am
src/buffer.c
src/common.h
src/system.c
src/tar.c
src/xattrs.c
src/xattrs.h
src/xheader.c
This page took 0.020677 seconds and 4 git commands to generate.