Re: pthread-rwlock tests: Fix compilation error on AIX with xlc

2024-11-14 Thread Paul Eggert
On 11/14/24 11:26, Collin Funk wrote: Does AIX support C23? Gnulib's nullptr module supports nullptr even if the underlying platform doesn't have it yet.

Re: pthread-rwlock tests: Fix compilation error on AIX with xlc

2024-11-14 Thread Collin Funk
Paul Eggert writes: > On 11/13/24 23:09, Bruno Haible via Gnulib discussion list wrote: >> Maybe we should override NULL on this platform (where it is defined as 0)? > > I wouldn't mess with NULL, as too much oddball stuff depends on it. In stddef.h we already replace NULL for NetBSD 5.0, so I d

Re: pthread-rwlock tests: Fix compilation error on AIX with xlc

2024-11-14 Thread Paul Eggert
On 11/13/24 23:09, Bruno Haible via Gnulib discussion list wrote: Maybe we should override NULL on this platform (where it is defined as 0)? I wouldn't mess with NULL, as too much oddball stuff depends on it. Why not use nullptr instead? It's the modern replacement.