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. Bruno [1] https://gitlab.com/ghwiki/gnow-how/-/wikis/Platforms/Configuration [2] https://lists.gnu.org/archive/html/bug-gettext/2025-09/msg00004.html
