l...@gnu.org (Ludovic Courtès) writes:

>> My conclusion so far is that "(void *)0" is a legal value for NULL
>
> Whether "legal" or not, under-parenthesized expression-like macros are
> likely to cause troubles one day or another.
>
> Thanks for your work with the upstream people!

I now have a pointer to something in POSIX 2008 that says
expression-like macros have to be parenthesized.

Attachment: pgp0Lm8VeFV1C.pgp
Description: PGP signature

Reply via email to