summaryrefslogtreecommitdiff
path: root/m4/manywarnings.m4
Commit message (Expand)AuthorAgeFilesLines
* Merge from gnulib, incorporating:...2014-09-02 gnulib-common.m4: port to GCC 4.2.1 and Sun Studio 12 C++ 2014-09-01 manywarnings: add GCC 4.9 warnings * m4/gnulib-common.m4, m4/manywarnings.m4: Update from gnulib. Paul Eggert2014-09-021-4/+26
* Merge from gnulib....This incorporates: 2014-01-02 manywarnings: remove -Wmudflap This ports better to GCC 4.9-to-be. Paul Eggert2014-01-021-1/+0
* Update copyright year to 2014 by running admin/update-copyright.Paul Eggert2014-01-011-1/+1
* Merge from gnulib....This incorporates: 2013-09-24 manywarnings: enable nicer gcc warning messages 2013-09-23 warnings: port --enable-gcc-warnings to Solaris Studio 12.3 2013-09-21 timespec: use the new TIMESPEC_RESOLUTION elsewhere * configure.ac (WERROR_CFLAGS): Omit -fdiagnostics-show-option and -funit-at-a-time, since manywarnings does that for us now. Paul Eggert2013-09-241-1/+3
* Merge from gnulib....2013-05-15 manywarnings: update for GCC 4.8.0 2013-05-15 stdio: use __REDIRECT for fwrite, fwrite_unlocked 2013-05-15 sig2str, stdio, warnings: port to clang Paul Eggert2013-05-161-4/+2
* Update copyright notices for 2013.Paul Eggert2013-01-011-1/+1
* Merge from gnulib.Paul Eggert2012-10-041-7/+25
* Merge from gnulib....This incorporates: 2012-08-29 stdbool: be more compatible with mixed C/C++ compiles 2011-11-30 manywarnings: update the list of "all" warnings Paul Eggert2012-09-031-65/+88
* Make 'configure' a bit smaller and faster....* configure.in (INSTALL_INFO): Set it with one call to AC_PATH_PROG, not three. (PKG_CONFIG): Hoist this out of PKG_CHECK_MODULES, since it's so likely that it'll be needed. (AC_CHECK_HEADERS_ONCE): Prefer to AC_CHECK_HEADERS where either works. (AC_PROG_MAKE_SET): Remove; Automake does this. (sysinfo): Do not check for this function, as it's never used. (tzset): Check for this function just once. * admin/CPP-DEFINES: Remove HAVE_SYSINFO. * m4/manywarnings.m4: Sync from gnulib, incorporating the following: 2012-05-27 manywarnings: remove duplicate -Wmultichar entry Paul Eggert2012-05-271-2/+1
* configure: new option --enable-gcc-warnings...I have been using this change for many months in my private copy of Emacs, and have used it to find several bugs. It's mature enough to publish now. * Makefile.in (GNULIB_MODULES): Add warnings, manywarnings. * configure.in: Support --enable-gcc-warnings, in the style of other GNU packages such as coreutils. (C_WARNINGS_SWITCH): Remove, replacing with... (WARN_CFLAGS, GNULIB_WARN_CFLAGS): New variable. (PKG_CHECK_MODULES, C_SWITCH_X_SITE): Use -isystem rather than -I, when including system files with GCC. * etc/NEWS: Mention --enable-gcc-warnings. * lib/Makefile.am (AM_CFLAGS): New macro. * m4/manywarnings.m4, m4/warnings.m4: New files, from gnulib. * lib-src/Makefile.in (C_WARNINGS_SWITCH): Remove. (WARN_CFLAGS, WERROR_CFLAGS): New macros. (BASE_CFLAGS): Use new macros rather than old. * lwlib/Makefile.in (C_WARNINGS_SWITCH): Remove. (WARN_CFLAGS, WERROR_CFLAGS): New macros. (ALL_CFLAGS): Use new macros rather than old. * oldXMenu/Makefile.in (C_WARNINGS_SWITCH): Remove. (WARN_CFLAGS, WERROR_CFLAGS): New macros. (ALL_CFLAGS): Use new macros rather than old. * src/Makefile.in (C_WARNINGS_SWITCH): Remove. (WARN_CFLAGS, WERROR_CFLAGS): New macros. (ALL_CFLAGS): Use new macros rather than old. * src/process.c: Ignore -Wstrict-overflow to work around GCC bug 52904. * src/regex.c: Ignore -Wstrict-overflow. If !emacs, also ignore -Wunused-but-set-variable, -Wunused-function, -Wunused-macros, -Wunused-result, -Wunused-variable. This should go away once the Emacs and Gnulib regex code is merged. (xmalloc, xrealloc): Now static. Paul Eggert2012-04-091-0/+184