bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Some more <config.h> reminders


From: Bruno Haible
Subject: Some more <config.h> reminders
Date: Thu, 13 Apr 2023 23:56:32 +0200

Some .h files (other than .in.h files) test various HAVE_* macros, set by
Autoconf macros. These files too need <config.h> to be included first.

These two patches handle these .h files.


2023-04-13  Bruno Haible  <bruno@clisp.org>

        Add more reminders to include <config.h>.
        * lib/aligned-malloc.h: Check that config.h was already included.
        * lib/careadlinkat.h: Likewise.
        * lib/filemode.h: Likewise.
        * lib/freadptr.h: Likewise.
        * lib/fseterr.h: Likewise.
        * lib/glthread/lock.h: Likewise.
        * lib/glthread/tls.h: Likewise.
        * lib/immutable.h: Likewise.
        * lib/isapipe.h: Likewise.
        * lib/isnand-nolibm.h: Likewise.
        * lib/isnanf-nolibm.h: Likewise.
        * lib/isnanl-nolibm.h: Likewise.
        * lib/mbswidth.h: Likewise.
        * lib/md5.h: Likewise.
        * lib/minmax.h: Likewise.
        * lib/msvc-inval.h: Likewise.
        * lib/msvc-nothrow.h: Likewise.
        * lib/pathmax.h: Likewise.
        * lib/sha1.h: Likewise.
        * lib/sha256.h: Likewise.
        * lib/sha512.h: Likewise.
        * lib/size_max.h: Likewise.
        * lib/sm3.h: Likewise.
        * lib/stat-size.h: Likewise.
        * lib/termcap.h: Likewise.
        * lib/terminfo.h: Likewise.
        * lib/thread-optim.h: Likewise.
        * lib/unlocked-io.h: Likewise.
        * lib/vma-iter.h: Likewise.

2023-04-13  Bruno Haible  <bruno@clisp.org>

        Adjust comments in <config.h> reminders.
        * lib/*.h: In the comments, mention also HAVE_*.

Attachment: 0001-Adjust-comments-in-config.h-reminders.patch
Description: Text Data

Attachment: 0002-Add-more-reminders-to-include-config.h.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]