On 2025-09-17 22:23, Bruno Haible wrote:
Michael Osipov wrote:
-D_POSIX_C_SOURCE=199506L is something we don't want to have, because
(as far as I understand) it reduces the set of symbols visible from the
*.h files.
Plase note that that macro also enables stuff:
# grep -r _POSIX_C_SOURCE /usr/include/
/usr/include/sys/buf.h:#if (_POSIX_C_SOURCE >= 199309)
...
We attempt to get all available symbols defined or declared,
through the options
-D_HPUX_SOURCE -D_XOPEN_SOURCE=600
recommended in [1].
Which symbols are gone from your Pov? I can double check in the header
files for you.
You reported in [2] that when you use -D_POSIX_C_SOURCE=199506L, the
symbol strdup is not declared and thus leads to compilation errors.
I'll double check this the next couple of days and get back to you.