summaryrefslogtreecommitdiff
path: root/m4/extern-inline.m4
Commit message (Collapse)AuthorAgeFilesLines
* maint: run 'make update-copyright'Simon Josefsson2023-01-011-1/+1
|
* extern-inline: improve macOS portPaul Eggert2022-01-171-2/+17
| | | | | | | | | | * m4/extern-inline.m4 (gl_EXTERN_INLINE): Define HAVE___HEADER_INLINE at configure-time, so that config.h knows the workaround is not needed even though ctype.h has not yet been included. This lets the compiler use extern inline functions on newer macOS platforms, instead of static inline. Problem reported by Reuben Thomas in: https://lists.gnu.org/r/bug-gnulib/2022-01/msg00130.html
* maint: run 'make update-copyright'Paul Eggert2022-01-011-1/+1
|
* stdint-tests: long long preproc on recent Sun CPaul Eggert2021-09-121-1/+2
| | | | | * tests/test-stdint.c: Test long long preprocessor constants on Oracle Developer Studio 12.6, where they should work.
* extern-inline: Fix syntax error on macOS with GCC 11 (regr. 2021-08-22).Bruno Haible2021-09-131-2/+2
| | | | | | | | Reported by Akim Demaille in <https://lists.gnu.org/archive/html/bug-gnulib/2021-09/msg00052.html>. * m4/extern-inline.m4 (_GL_INLINE, _GL_EXTERN_INLINE): Put _GL_UNUSED before, not after, 'static'.
* maint: run 'make update-copyright'Paul Eggert2020-12-311-1/+1
|
* maint: Run 'make update-copyright'Paul Eggert2019-12-311-1/+1
|
* Update some URLsPaul Eggert2019-09-221-1/+1
| | | | | | This is a clerical change that mostly changes http: to https: in URLs where either will work. It also updates some URLs that have moved, removes some URLs that no longer work, and fixes related text.
* maint: Run 'make update-copyright'Paul Eggert2019-01-011-1/+1
|
* Fix link error regarding 'rpl_environ' (regression from 2012-11-21).Bruno Haible2018-08-051-2/+14
| | | | | | | * m4/extern-inline.m4: Add more comments. * lib/warn-on-use.h (_GL_WARN_ON_USE_ATTRIBUTE): New macro. * lib/unistd.in.h (rpl_environ): Use it instead of _GL_WARN_ON_USE. * lib/math.in.h (_GL_WARN_REAL_FLOATING_DECL): Likewise.
* maint: Run 'make update-copyright'Paul Eggert2018-01-011-1/+1
|
* maint: shorten https://lists.gnu.org/archive/html/... linksJim Meyering2017-11-121-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Each /archive/html/ part can be replace with /r/. Run this to induce the change: git grep -l archive/html|xargs perl -pi -e 's,/archive/html/,/r/,g' * ChangeLog: Perform that substitution. * Makefile: Likewise. * STATUS-libposix: Likewise. * build-aux/bootstrap: Likewise. * doc/maintain.texi: Likewise. * gnulib-tool: Likewise. * lib/allocator.h: Likewise. * lib/argp-ba.c: Likewise. * lib/argp-pv.c: Likewise. * lib/canon-host.c: Likewise. * lib/canonicalize-lgpl.c: Likewise. * lib/float.in.h: Likewise. * lib/fstat.c: Likewise. * lib/getdelim.c: Likewise. * lib/getprogname.c: Likewise. * lib/glthread/thread.h: Likewise. * lib/intprops.h: Likewise. * lib/mbsrtowcs-state.c: Likewise. * lib/safe-read.c: Likewise. * lib/signal.in.h: Likewise. * lib/stat.c: Likewise. * lib/stdbool.in.h: Likewise. * lib/stdio-impl.h: Likewise. * lib/stdio.in.h: Likewise. * lib/sysexits.in.h: Likewise. * lib/timespec.h: Likewise. * lib/wcsrtombs-state.c: Likewise. * m4/alloca.m4: Likewise. * m4/extern-inline.m4: Likewise. * m4/fstatat.m4: Likewise. * m4/gnulib-common.m4: Likewise. * m4/lib-ignore.m4: Likewise. * m4/printf.m4: Likewise. * m4/regex.m4: Likewise. * m4/stat-size.m4: Likewise. * m4/std-gnu11.m4: Likewise. * m4/stdbool.m4: Likewise. * m4/sys_types_h.m4: Likewise. * m4/threadlib.m4: Likewise. * m4/vararrays.m4: Likewise. * pygnulib/GLImport.py: Likewise. * tests/test-exp.h: Likewise. * tests/test-exp2.h: Likewise. * tests/test-expm1.h: Likewise. * tests/test-fflush2.c: Likewise. * tests/test-getopt_long.h: Likewise. * tests/test-intprops.c: Likewise. * tests/test-log.h: Likewise. * tests/test-log10.h: Likewise. * tests/test-log1p.h: Likewise. * tests/test-log2.h: Likewise. * tests/test-printf-posix.h: Likewise. * tests/test-regex.c: Likewise. * tests/test-snprintf-posix.h: Likewise. * tests/test-sprintf-posix.h: Likewise. * tests/test-stdalign.c: Likewise. * tests/test-stdbool.c: Likewise. * tests/test-vasnprintf-posix.c: Likewise. * tests/test-vasprintf-posix.c: Likewise. * top/maint.mk: Likewise.
* all: Replace many more http URLs by https URLs. Update stale URLs.Bruno Haible2017-09-141-4/+4
| | | | | * users.txt: Remove mention of 'newts'. * lib/localename.c: Update comment about LANG_SOTHO.
* version-etc: new yearPaul Eggert2017-01-011-1/+1
| | | | | | | | | | * build-aux/gendocs.sh (version): * doc/gendocs_template: * doc/gendocs_template_min: * doc/gnulib.texi: * lib/version-etc.c (COPYRIGHT_YEAR): Update copyright dates by hand in templates and the like. * all files: Run 'make update-copyright'.
* extern-inline: port to PGI CCBruno Haible2016-03-041-0/+1
| | | | | | | * m4/extern-inline.m4 (gl_EXTERN_INLINE): For PGI CC, don't use the keyword 'inline'. Reported by Adam James Stewart in: http://lists.gnu.org/archive/html/bug-gnulib/2016-03/msg00006.html
* version-etc: new yearPaul Eggert2016-01-011-1/+1
| | | | | | | | | | * build-aux/gendocs.sh (version): * doc/gendocs_template: * doc/gendocs_template_min: * doc/gnulib.texi: * lib/version-etc.c (COPYRIGHT_YEAR): Update copyright dates by hand in templates and the like. * all files: Run 'make update-copyright'.
* extern-inline: no need for workaround in GCC 5.1Paul Eggert2015-04-291-2/+3
| | | | | | | | * doc/extern-inline.texi (extern inline): * m4/extern-inline.m4 (gl_EXTERN_INLINE): GCC bugs 54113 and 63877 are fixed in GCC 5.1, so don't work around these bugs in GCC 5.1 and later. Maybe in a decade or two we can remove these workarounds.
* version-etc: new yearPaul Eggert2014-12-311-1/+1
| | | | | | * doc/gnulib.texi: * lib/version-etc.c (COPYRIGHT_YEAR): Update copyright date. * all files: Run 'make update-copyright'.
* extern-inline: update commentary about GCC bugsPaul Eggert2014-11-141-4/+5
| | | | * m4/extern-inline.m4: Add another GCC bug number to comments.
* extern-inline: port to FreeBSD, DragonFlyPaul Eggert2014-08-041-8/+23
| | | | | | | | | | | * m4/extern-inline.m4 (gl_EXTERN_INLINE): Also assume the bug is present if either __DragonFly__ or __FreeBSD__ is defined. FreeBSD problem reported by Andrey Borzenkov in: http://lists.gnu.org/archive/html/bug-gnulib/2014-07/msg00104.html Also, worry about __APPLE__ only if __MACH__ is also defined, as this is more consistent with the rest of gnulib. (_GL_EXTERN_INLINE_STDHEADER_BUG): Rename this internal macro from _GL_EXTERN_INLINE_APPLE_BUG, since the bug is not limited to Apple.
* maint: update copyrightEric Blake2014-01-011-1/+1
| | | | | | I ran 'make update-copyright'. Signed-off-by: Eric Blake <eblake@redhat.com>
* extern-inline: port better to OS X 10.9Paul Eggert2013-11-081-7/+11
| | | | | | | * m4/extern-inline.m4: Omit serial number; this file doesn't use them. (gl_EXTERN_INLINE): Do not suppress the use of extern inline on OS X 10.9, except for g++ where the bug is still present. See <http://trac.macports.org/ticket/41033>.
* extern-inline: make safe for -Wundef usageEric Blake2013-10-181-1/+2
| | | | | | | | | Reported by Vladimir 'phcoder' Serbinenko in https://lists.gnu.org/archive/html/bug-gnulib/2013-10/msg00078.html * m4/extern-inline.m4 (gl_EXTERN_INLINE): Port to older gcc. Signed-off-by: Eric Blake <eblake@redhat.com>
* extern-inline: do not always suppress extern inline on OS XPaul Eggert2013-09-191-4/+13
| | | | | | | | | * m4/extern-inline.m4 (gl_EXTERN_INLINE): Suppress the use of extern inline on Apple only if the particular compile-time configuration is known to have the problem. (_GL_EXTERN_INLINE_APPLE_BUG): New private macro, to implement this. (_GL_EXTERN_LNLINE_IN_USE): New macro, intended for use by other Gnulib modules.
* extern-inline: port to gcc -std=c89Paul Eggert2013-06-211-1/+2
| | | | | * m4/extern-inline.m4 (gl_EXTERN_INLINE): Do not use __gnu_inline__ if pedantic and pre-C99.
* doc: document extern-inlinePaul Eggert2013-06-181-9/+5
| | | | | | | * doc/extern-inline.texi: New file. * doc/gnulib.texi (alloca-opt): Include it. * m4/extern-inline.m4: Move some comments to documentation, and others closer to what they describe.
* extern-inline: work around bug in Sun c99Paul Eggert2013-04-281-3/+11
| | | | | * m4/extern-inline.m4 (_GL_INLINE, _GL_EXTERN_INLINE): Work around bug in Sun C 5.12 c99's implementation of 'inline'.
* extern-inline: avoid compilation error with HP-UX ccPaul Eggert2013-02-181-1/+4
| | | | | | | | | Reported by Richard Lloyd in <http://lists.gnu.org/archive/html/bug-texinfo/2013-02/msg00030.html>. * m4/extern-inline.m4 (_GL_INLINE, _GL_EXTERN_INLINE): Suppress extern inline with HP-UX cc. This should be safe, though it may hurt performance. Perhaps someone with some HP-UX experience can come up with a higher-performance fix.
* maint: update all copyright year number rangesEric Blake2013-01-011-1/+1
| | | | | | Run "make update-copyright". Compare to commit 1602f0a from last year. Signed-off-by: Eric Blake <eblake@redhat.com>
* extern-inline: avoid incompatibility with Darwin LibcPaul Eggert2012-12-111-7/+13
| | | | | | | * m4/extern-inline.m4 (_GL_INLINE, _GL_EXTERN_INLINE): Do not use extern inline if __APPLE__. Use _GL_UNUSED in the non-inline branch. Problem reported by Akim Demaille in <http://lists.gnu.org/archive/html/bug-gnulib/2012-12/msg00023.html>.
* extern-inline: no 'static inline'Paul Eggert2012-11-291-3/+2
| | | | | | | * m4/extern-inline.m4 (gl_EXTERN_INLINE): Do not require AC_C_INLINE. (_GL_INLINE, _GL_EXTERN_INLINE): Define as 'static', not as 'static inline', for older compilers.
* extern-inline: provide a -Wundef safe config.hAkim Demaille2012-09-281-2/+4
| | | | | | * m4/extern-inline.m4 (gl_EXTERN_INLINE): Protect "#if __GNUC_STDC_INLINE__" with "defined __GNUC_STDC_INLINE__" to produce a -Wundef warning free config.h.
* extern-inline: support old GCC 'inline'Paul Eggert2012-08-201-8/+22
| | | | | | | | * m4/extern-inline.m4 (gl_EXTERN_INLINE): Use pre-C99 GCC 'inline' if available. This applies to GCC versions 2.7 through 4.2, or when newer GCC is using -fgnu89-inline. The goal is to address some of the performance issues mentioned by Bruno Haible in <http://lists.gnu.org/archive/html/bug-gnulib/2012-08/msg00097.html>.
* extern-inline: also ignore -Wmissing-declarationsJim Meyering2012-08-061-1/+2
| | | | | * m4/extern-inline.m4: Also ignore -Wmissing-declarations, required with gcc-4.8.0-to-be.
* Fix typo: 'linline' -> 'inline' (thanks to Eric Blake).Paul Eggert2012-08-011-1/+1
|
* Fix indenting.Paul Eggert2012-08-011-8/+8
|
* extern-inline: new modulePaul Eggert2012-08-011-0/+40
* modules/extern-inline, m4/extern-inline.m4: New files. This is for better support of 'extern inline' a la ISO C99, with a portable alternative on compilers that do not support C99-style 'extern inline'. Using 'extern inline' shrinks the size of the Emacs executable, when compiled with debugging disabled, which is a typical way that Emacs is built while developing.