On Wed 05 Feb 2014 at 09:09:33 +0000, Emmanuel Dreyfus wrote: > Worse than that: heander included, but missing _POSIX_C_SOURCE=199506 > so that strtok_t() is not defined. Wow, this is tough. I have seen effects like that when software starts defining things like XOPEN_SOURCE or similar defines. Then suddenly other things like _NETBSD_SOURCE no longer get defined, which may lead to various functions or structures unexpectedly not being declared. (Note: I've forgotten the exact details so the names I mention are probably not the actual ones involved. But it happened in some software project where somebody wanted to be "portable", except that the program was using some non-POSIX but very common Unix features, and didn't realise that the #define reduced features, instead of just making all standard features available). -Olaf. -- ___ Olaf 'Rhialto' Seibert -- The Doctor: No, 'eureka' is Greek for \X/ rhialto/at/xs4all.nl -- 'this bath is too hot.'
Description: PGP signature