• Show log

    Commit

  • Hash : 61720eb1
    Author : Bruno Haible
    Date : 2024-08-27T16:20:16

    Explicitly exclude clang when we test for a GCC version >= 4.3.
    
    Rationale: clang can disguise as any possible GCC version.
    
    * m4/gnulib-common.m4 (gl_CC_GNULIB_WARNINGS): When testing __GNUC__,
    exclude clang.
    * lib/_Noreturn.h (_Noreturn): Likewise.
    * lib/aligned-malloc.h (aligned_free, aligned_malloc): Likewise.
    * lib/base32.h: Likewise.
    * lib/base64.h: Likewise.
    * lib/dfa.c (FALLTHROUGH): Likewise.
    * lib/dirent.in.h (_GL_ATTRIBUTE_DEALLOC, opendir, fdopendir): Likewise.
    * lib/intprops-internal.h: Likewise.
    * lib/jit/cache.h (clear_cache): Likewise.
    * lib/malloc.in.h (memalign): Likewise.
    * lib/mcel.h: Likewise.
    * lib/regex.h: Likewise.
    * lib/stddef.in.h (_GL_HAS_BUILTIN_UNREACHABLE): Likewise.
    * lib/stdio.in.h (_GL_ATTRIBUTE_DEALLOC, fdopen, fopen, popen, tmpfile):
    Likewise.
    * lib/stdlib.in.h (_GL_ATTRIBUTE_DEALLOC, aligned_alloc, calloc,
    canonicalize_file_name, malloc, realloc): Likewise.
    * lib/string.in.h (_GL_ATTRIBUTE_DEALLOC, strdup, strndup): Likewise.
    * lib/verify.h: Likewise.
    * lib/wchar.in.h (_GL_ATTRIBUTE_DEALLOC, wcsdup): Likewise.
    * lib/xalloc-oversized.h (xalloc_oversized): Likewise.
    * lib/fenv-private.h (_FPU_GETCW, _FPU_SETCW, _FPU_GETFPSR,
    _FPU_SETFPSR): When testing __GNUC__, exclude clang. Use different
    builtins for clang.
    * lib/hamt.h (GL_HAMT_THREAD_SAFE): When testing __GNUC__, exclude
    clang. Enable for clang >= 4.
    * lib/astrxfrm.c: Use _GL_GNUC_PREREQ.
    * lib/readutmp.c: Likewise.
    * lib/strftime.c: Likewise.
    * tests/test-asyncsafe-linked_list-strong.c: Likewise.
    * tests/test-asyncsafe-linked_list-weak.c: Likewise.
    * tests/test-c-strtod-mt.c: Likewise.
    * tests/test-c-strtof-mt.c: Likewise.
    * tests/test-c-strtold-mt.c: Likewise.
    * tests/test-gmtime_r-mt.c: Likewise.
    * tests/test-intprops.c: Likewise.
    * tests/test-limits-h.c: Likewise.
    * tests/test-localtime_r-mt.c: Likewise.
    * tests/test-memrchr.c: Likewise.
    * tests/test-nl_langinfo-mt.c: Likewise.
    * tests/test-setlocale_null-mt-all.c: Likewise.
    * tests/test-setlocale_null-mt-one.c: Likewise.
    * tests/test-statat.c: Likewise.
    * tests/test-xvasprintf.c: Likewise.
    

  • README

  • Please create and read the docs with
    
      $ cd doc
      $ make gnulib.html
      $ xdg-open gnulib.html
    
    or read the online manual at
    
      https://www.gnu.org/software/gnulib/manual/gnulib.html