1. 09 Jul, 2020 1 commit
    • Paul Eggert's avatar
      Update from Gnulib · 0fc8671d
      Paul Eggert authored
      This incorporates:
      2020-07-07 dup2: remove support for some very old platforms
      2020-07-07 memchr: remove support for some very old platforms
      2020-07-04 getumask: new module
      2020-07-03 getrandom: fix compilation error on native Windows
      2020-07-03 lchmod: simplify after 2020-02-22 change
      2020-07-01 manywarnings: improve port to GCC 10.1
      2020-06-28 getrandom: fix compilation errors on older versions of mingw
      2020-06-29 alloca-opt: fix warning on mingw
      * lib/alloca.in.h, lib/dup2.c, lib/getrandom.c, lib/string.in.h:
      * lib/sys_stat.in.h, lib/unistd.in.h, m4/dup2.m4, m4/getrandom.m4:
      * m4/lchmod.m4, m4/manywarnings.m4, m4/string_h.m4, m4/sys_stat_h.m4:
      * m4/unistd_h.m4: Copy from Gnulib.
      * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
      0fc8671d
  2. 12 May, 2020 1 commit
    • Paul Eggert's avatar
      Update from gnulib · 00f0ad55
      Paul Eggert authored
      This incorporates:
      2020-05-11 careadlinkat: fix GCC 10 workaround
      2020-05-10 careadlinkat: limit GCC workaround
      2020-05-10 attribute: clarify list of attributes
      2020-05-10 string: fix compilation error in C++ mode
      2020-05-09 manywarnings: port to GCC 10.1
      2020-05-09 careadlinkat: pacify -Wreturn-local-addr
      2020-05-09 attribute: remove ATTRIBUTE_DEPRECATED
      2020-05-09 attribute: Add comments
      * lib/attribute.h, lib/careadlinkat.c, lib/string.in.h:
      * lib/warn-on-use.h, m4/manywarnings.m4: Copy from Gnulib.
      00f0ad55
  3. 01 Jan, 2020 1 commit
  4. 30 May, 2019 1 commit
    • Paul Eggert's avatar
      Suppress GCC 9 “no longer supported” messages · fa9e575c
      Paul Eggert authored
      * m4/manywarnings.m4 (gl_MANYWARN_ALL_GCC): Remove -Wchkp.
      This suppresses a boatload of warnings of the form
      “gcc: warning: switch ‘-Wchkp’ is no longer supported”.
      when using GCC 9.  Do not merge to master.
      fa9e575c
  5. 03 May, 2019 1 commit
    • Paul Eggert's avatar
      Update from Gnulib · 57a1d378
      Paul Eggert authored
      This incorporates:
      2019-05-03 Port manywarnings to GCC 9
      * m4/manywarnings.m4: Copy from Gnulib.
      57a1d378
  6. 01 Jan, 2019 2 commits
    • Paul Eggert's avatar
      Update from Gnulib · 11549870
      Paul Eggert authored
      This incorporates mostly just copyright-year changes, plus
      recent minor updates from glibc for the non-Emacs regular
      expression code.
      11549870
    • Paul Eggert's avatar
      Update copyright year to 2019 · 26bed8ba
      Paul Eggert authored
      Run 'TZ=UTC0 admin/update-copyright $(git ls-files)'.
      26bed8ba
  7. 15 Oct, 2018 1 commit
    • Paul Eggert's avatar
      Update from Gnulib · 6b8fd34c
      Paul Eggert authored
      This is minor refactoring that should not affect Emacs builds.
      It incorporates:
      2018-10-12 Make better use of Autoconf
      * m4/environ.m4, m4/fsusage.m4, m4/manywarnings.m4, m4/socklen.m4:
      Copy from Gnulib.
      6b8fd34c
  8. 04 Jul, 2018 1 commit
    • Paul Eggert's avatar
      Update from Gnulib · 891536aa
      Paul Eggert authored
      This incorporates:
      2018-07-01 getloadavg: don't redefine WINDOWS32
      2018-07-01 manywarnings: omit -Wswitch-default
      * build-aux/config.sub, lib/getloadavg.c, m4/manywarnings.m4:
      Copy from Gnulib.
      891536aa
  9. 30 Jun, 2018 1 commit
    • Paul Eggert's avatar
      Update from Gnulib · 35e9dcab
      Paul Eggert authored
      This incorporates:
      2018-06-29 regex: glibc does not use intprops.h
      2018-06-28 regex: port to recently proposed glibc regex merge
      2018-06-25 Continue to use spaces for indentation, not tabs
      2018-06-25 manywarnings: Don't enable -Wjump-misses-init by default
      2018-06-25 acl-internal.h: remove _GL_ATTRIBUTE_CONST on void function
      2018-06-24 manywarnings: accommodate GCC 9: remove -Wchkp and -Wabi
      2018-06-24 maint: clarify comments about sticky EOF
      2018-06-24 af_alg: avoid hangs when reading from streams
      2018-06-17 crypto: use byteswap
      2018-06-17 getloadavg: Return 0 on MS-Windows without Cygwi
      2018-06-17 getloadavg: Allow building on MS-Windows without Cygwin
      * build-aux/config.guess, build-aux/config.sub, doc/misc/texinfo.tex:
      * lib/acl-internal.c, lib/acl-internal.h, lib/get-permissions.c:
      * lib/getloadavg.c, lib/gettimeofday.c, lib/md5.c, lib/pselect.c:
      * lib/set-permissions.c, lib/sha1.c, lib/sha256.c, lib/sha512.c:
      * lib/time.in.h, m4/getloadavg.m4, m4/gnulib-common.m4:
      * m4/manywarnings.m4, m4/pthread_sigmask.m4, m4/vararrays.m4:
      Copy from Gnulib.
      35e9dcab
  10. 28 Apr, 2018 1 commit
    • Paul Eggert's avatar
      Update from Gnulib · 2b9ab8c8
      Paul Eggert authored
      This incorporates:
      2018-04-27 manywarnings: port to GCC 8.0
      * build-aux/config.sub, m4/manywarnings.m4: Copy from Gnulib.
      2b9ab8c8
  11. 01 Feb, 2018 1 commit
    • Paul Eggert's avatar
      Update from gnulib · 100e3397
      Paul Eggert authored
      This includes:
      2018-01-31 environ: Fix link error on 64-bit Cygwin
      2018-01-27 Fix malfunction of socket functions on HP-UX in 64-bit mode
      2018-01-26 manywarnings: fix maintainer comment
      2018-01-23 Merge strftime.c changes from glibc
      * build-aux/config.guess, build-aux/config.sub, doc/misc/texinfo.tex:
      * lib/gnulib.mk.in, lib/nstrftime.c, lib/unistd.in.h, m4/extensions.m4:
      * m4/manywarnings.m4: Update.
      100e3397
  12. 01 Jan, 2018 1 commit
    • Paul Eggert's avatar
      Merge from Gnulib · 220a9ecb
      Paul Eggert authored
      This incorporates:
      2018-01-01 maint: Run 'make update-copyright'
      2017-12-29 Add cross-compilation results for GNU/Hurd.
      2017-12-12 explicit_bzero: port to macOS + Clang 9.0.0
      220a9ecb
  13. 17 Sep, 2017 1 commit
    • Paul Eggert's avatar
      Merge from Gnulib · 6bbbc38b
      Paul Eggert authored
      This incorporates:
      2017-09-16 manywarnings: port to GCC on 64-bit MS-Windows
      2017-09-13 all: Replace many more http URLs by https URLs
      * build-aux/config.guess, build-aux/config.sub:
      * build-aux/gitlog-to-changelog, doc/misc/texinfo.tex:
      * lib/allocator.h, lib/count-leading-zeros.h:
      * lib/count-trailing-zeros.h, lib/dup2.c, lib/filevercmp.c:
      * lib/fstatat.c, lib/fsync.c, lib/ftoastr.c, lib/ftoastr.h:
      * lib/intprops.h, lib/signal.in.h, lib/stdio-impl.h, lib/stdio.in.h:
      * lib/unistd.in.h, lib/utimens.c, m4/alloca.m4, m4/extern-inline.m4:
      * m4/fstatat.m4, m4/gnulib-common.m4, m4/manywarnings.m4:
      * m4/std-gnu11.m4, m4/sys_types_h.m4, m4/vararrays.m4:
      Copy from Gnulib.
      * lib/gnulib.mk.in: Regenerate.
      6bbbc38b
  14. 10 Sep, 2017 1 commit
    • Paul Eggert's avatar
      Merge from gnulib · b079ee72
      Paul Eggert authored
      This incorporates:
      2017-09-08 stddef: Avoid conflict with system-defined max_align_t
      2017-08-24 warnings: fix compilation with old autoconf
      2017-08-23 glob: merge from glibc with Zanella glob changes
      2017-08-17 random: Fix test compilation failure on Cygwin 1.5.25
      * doc/misc/texinfo.tex, lib/flexmember.h, lib/stddef.in.h:
      * lib/stdlib.in.h, m4/manywarnings.m4, m4/stdlib_h.m4:
      * m4/warnings.m4:
      Copy from Gnulib.
      * lib/gnulib.mk.in: Regenerate.
      b079ee72
  15. 09 Aug, 2017 1 commit
    • Paul Eggert's avatar
      Merge from gnulib · 904be8c4
      Paul Eggert authored
      This incorporates:
      2017-08-09 tempname: do not depend on secure_getenv
      2017-08-08 extensions: add _OPENBSD_SOURCE
      2017-08-06 manywarnings: Add support for C++
      2017-08-06 warnings, manywarnings: Add support for multiple languages
      * admin/merge-gnulib: Don't use m4/manywarnings-c++.m4.
      * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
      * lib/secure_getenv.c, m4/secure_getenv.m4: Remove.
      * lib/tempname.c, m4/extensions.m4, m4/manywarnings.m4, m4/warnings.m4:
      Copy from gnulib.
      904be8c4
  16. 05 Aug, 2017 1 commit
    • Paul Eggert's avatar
      Merge from gnulib · b8748dd0
      Paul Eggert authored
      This incorporates:
      2017-08-04 manywarnings: port to 64-bit GCC builds of Emacs
      2017-08-01 manywarnings: port to 32-bit GCC bug
      * lib/gnulib.mk.in: Regenerate.
      * m4/manywarnings.m4: Copy from gnulib.
      b8748dd0
  17. 16 May, 2017 1 commit
    • Paul Eggert's avatar
      Merge with gnulib, pacifying GCC 7 · 2e1bebe2
      Paul Eggert authored
      This incorporates:
      2017-05-16 manywarnings: update for GCC 7
      2017-05-15 sys_select: Avoid "was expanded before it was required"
      * configure.ac (nw): Suppress GCC 7’s new -Wduplicated-branches and
      -Wformat-overflow=2 options, due to too many false alarms.
      * doc/misc/texinfo.tex, lib/strftime.c, m4/manywarnings.m4:
      Copy from gnulib.
      * m4/gnulib-comp.m4: Regenerate.
      * src/coding.c (decode_coding_iso_2022):
      Fix bug uncovered by -Wimplicit-fallthrough.
      * src/conf_post.h (FALLTHROUGH): New macro.
      Use it to mark all switch cases that fall through.
      * src/editfns.c (styled_format): Use !, not ~, on bool.
      * src/gtkutil.c (xg_check_special_colors):
      When using sprintf, don’t trust Gtk to output colors in [0, 1] range.
      (xg_update_scrollbar_pos): Avoid use of possibly-uninitialized bool;
      this bug was actually caught by Clang.
      * src/search.c (boyer_moore):
      Tell GCC that CHAR_BASE, if nonzero, must be a non-ASCII character.
      * src/xterm.c (x_draw_glyphless_glyph_string_foreground):
      Tell GCC that glyph->u.glyphless.ch must be a character.
      2e1bebe2
  18. 01 Jan, 2017 2 commits
    • Paul Eggert's avatar
      Merge from gnulib · 5a59e28d
      Paul Eggert authored
      This incorporates:
      2016-12-19 stdint: Fix WINT_MAX to match wint_t on mingw
      2016-12-18 getopt: Fix link error for users of getopt() in <unistd.h>
      2016-12-17 getlogin: Port to newer mingw
      2016-12-17 stdint: Fix WINT_MAX to match wint_t on MSVC
      2016-12-17 Avoid redefinition errors on MSVC
      * lib/getopt.in.h, lib/stdint.in.h, lib/stdio.in.h, lib/unistd.in.h:
      * m4/stdint.m4, m4/unistd_h.m4:
      Copy from gnulib.
      * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
      Plus, this commit updates the indenting on copyright notices to
      match that of gnulib.
      5a59e28d
    • Paul Eggert's avatar
      Update copyright year to 2017 · 5badc81c
      Paul Eggert authored
      Run admin/update-copyright.
      5badc81c
  19. 20 Nov, 2016 1 commit
    • Paul Eggert's avatar
      Merge from gnulib · bbd84f86
      Paul Eggert authored
      This incorporates:
      2016-11-15 sys_time: add gnulib::timeval for C++
      2016-11-14 snippet/c++defs: fix real-floating arg functions in C++ mode
      2016-11-13 strftime: don't use __THROW
      2016-11-12 strftime: tune %q
      2016-11-12 Merge strftime.c changes from glibc
      2016-11-09 manywarnings: fix -Wno-missing-field-initializers detection
      2016-11-05 strftime,strptime: support %q to represent the quarter
      
      The glibc changes in turn incorporate the following strftime.c changes:
      2015-10-20 Convert misc function definitions to prototype style
      2015-09-26 [BZ #18985] out of range data to strftime() causes segfault
      2010-01-09 Add support for XPG7 testing
      2009-10-30 Implement Burmese language locale for Myanmar
      2008-06-13 [BZ #6612] pass reference to tzset_called around
      2007-10-16 [BZ #5184] Add tzset_called argument
      
      * build-aux/snippet/c++defs.h, lib/strftime.c, lib/sys_time.in.h:
      * m4/manywarnings.m4: Copy from gnulib.
      bbd84f86
  20. 08 Sep, 2016 1 commit
    • Paul Eggert's avatar
      Update from gnulib · 12a7e0f8
      Paul Eggert authored
      This incorporates:
      2016-09-07 flexmember: new macro FLEXALIGNOF
      2016-09-07 flexmember: port better to GCC + valgrind
      2016-08-18 Port modules to use getprogname explicitly
      2016-09-02 manywarnings: add -fno-common
      * admin/merge-gnulib (GNULIB_TOOL_FLAGS): Don’t avoid flexmember,
      since time_rz now uses part of it.  Instead, remove m4/flexmember.m4.
      * configure.ac (AC_C_FLEXIBLE_ARRAY_MEMBER): Define away,
      since Emacs assumes C99 and therefore removes m4/flexmember.m4.
      * lib/euidaccess.c, lib/group-member.c, lib/time_rz.c:
      * m4/manywarnings.m4: Copy from gnulib.
      * lib/flexmember.h: New file, from gnulib.
      * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
      12a7e0f8
  21. 18 May, 2016 1 commit
    • Paul Eggert's avatar
      Sync from gnulib · 6f5db025
      Paul Eggert authored
      This incorporates:
      2016-05-17 manywarnings: update for GCC 6.1
      2016-05-13 intdiv0, memmem, nocrash, strcasestr, strstr: no exit
      * m4/manywarnings.m4, m4/nocrash.m4: Copy from gnulib.
      6f5db025
  22. 19 Jan, 2016 1 commit
    • Paul Eggert's avatar
      Merge from gnulib · cd19641e
      Paul Eggert authored
      This mostly just updates copyright dates of gnulib files.
      It also updates to the latest version of texinfo.tex.
      cd19641e
  23. 01 Jan, 2016 1 commit
    • Paul Eggert's avatar
      Merge from gnulib · 98253051
      Paul Eggert authored
      This mostly just updates copyright dates of gnulib files.
      It also updates to the latest version of texinfo.tex.
      98253051
  24. 25 Apr, 2015 1 commit
    • Paul Eggert's avatar
      Merge from gnulib · 27e6afeb
      Paul Eggert authored
      This incorporates:
      2015-04-24 file-has-acl: new module, split from acl
      2015-04-24 manywarnings: add GCC 5.1 warnings
      2015-04-21 lstat: fix cross-compilation 'ln -s' problem
      2015-04-15 qacl: Simplify HP-UX acl_nontrivial check
      2015-04-15 acl: On Linux, check for acls without libacl
      2015-04-14 tempname: avoid unused parameter warnings (trivial)
      * lib/acl-internal.c: New file, from gnulib.
      * lib/file-has-acl.c: Remove; no longer imported from gnulib.
      * lib/acl-internal.h, lib/gnulib.mk, lib/qcopy-acl.c, lib/tempname.c:
      * m4/acl.m4, m4/gnulib-comp.m4, m4/lstat.m4, m4/manywarnings.m4:
      Update from gnulib.
      27e6afeb
  25. 01 Jan, 2015 2 commits
  26. 02 Sep, 2014 1 commit
    • Paul Eggert's avatar
      Merge from gnulib, incorporating: · da25527e
      Paul Eggert authored
      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.
      da25527e
  27. 03 Jan, 2014 1 commit
    • Paul Eggert's avatar
      Merge from gnulib. · 3d814710
      Paul Eggert authored
      This incorporates:
      2014-01-02 manywarnings: remove -Wmudflap
      This ports better to GCC 4.9-to-be.
      3d814710
  28. 01 Jan, 2014 1 commit
  29. 25 Sep, 2013 1 commit
    • Paul Eggert's avatar
      Merge from gnulib. · 959c3d24
      Paul Eggert authored
      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.
      959c3d24
  30. 16 May, 2013 1 commit
    • Paul Eggert's avatar
      Merge from gnulib. · cdd0de4b
      Paul Eggert authored
      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
      cdd0de4b
  31. 01 Jan, 2013 1 commit
  32. 04 Oct, 2012 1 commit
  33. 03 Sep, 2012 1 commit
    • Paul Eggert's avatar
      Merge from gnulib. · 7f507777
      Paul Eggert authored
      This incorporates:
      2012-08-29 stdbool: be more compatible with mixed C/C++ compiles
      2011-11-30 manywarnings: update the list of "all" warnings
      7f507777
  34. 28 May, 2012 1 commit
    • Paul Eggert's avatar
      Make 'configure' a bit smaller and faster. · 0e7a053e
      Paul Eggert authored
      * 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
      0e7a053e
  35. 09 Apr, 2012 1 commit
    • Paul Eggert's avatar
      configure: new option --enable-gcc-warnings · b8df54ff
      Paul Eggert authored
      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.
      b8df54ff