Re: Remove useless casts to (void *) - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: Remove useless casts to (void *)
Date
Msg-id CA+hUKG+sCurg84iD0onCfYXuOgYshggB6akmA9xymvfHn5MyYg@mail.gmail.com
Whole thread Raw
In response to Re: Remove useless casts to (void *)  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Remove useless casts to (void *)
List pgsql-hackers
On Wed, Dec 4, 2024 at 5:33 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> hake didn't like that, but after adding -D__EXTENSIONS__ per
> https://illumos.org/man/7/standards
> it seems happy again.  Its configure results are the same as
> beforehand, and the warning about shmdt() is gone.

Cool.  I was wondering if it was going to break on some of our recent
POSIX 2008 stuff (thread-safe <locale.h> bits and pieces) next, given
_POSIX_C_SOURCE=200112L.  It certainly does know about 2008 too, so it
looks like the man page might be out of date.

https://github.com/illumos/illumos-gate/blob/master/usr/src/boot/sys/sys/cdefs.h#L724



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Remove useless casts to (void *)
Next
From: Tom Lane
Date:
Subject: Re: Remove useless casts to (void *)