[Top][All Lists]

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

stddef: document the AIX xlc issue

From: Bruno Haible
Subject: stddef: document the AIX xlc issue
Date: Thu, 12 Dec 2019 17:04:30 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-166-generic; KDE/5.18.0; x86_64; ; )

On AIX with xlc in 64-bit mode, I'm seeing this configure test result:
  checking whether NULL can be used in arbitrary expressions... no

The cause is that sizeof NULL < sizeof (void *). Let's document it.

2019-12-12  Bruno Haible  <address@hidden>

        stddef: Document the AIX xlc issue.
        * doc/posix-headers/stddef.texi: Document the NULL issue with AIX xlc.

diff --git a/doc/posix-headers/stddef.texi b/doc/posix-headers/stddef.texi
index 05994d2..7dee0e7 100644
--- a/doc/posix-headers/stddef.texi
+++ b/doc/posix-headers/stddef.texi
@@ -22,6 +22,11 @@ Some old platforms fail to provide @code{wchar_t}.
 Some platforms provide a @code{NULL} macro that cannot be used in arbitrary
 NetBSD 5.0
+Some platforms provide a @code{NULL} macro whose value does not have the size
+of a pointer:
+AIX 7.2 with xlc in 64-bit mode.
 @end itemize
 Portability problems not fixed by Gnulib:

reply via email to

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