>>63
I'm not sure if it's -ansi or -pedantic, but one of them restricts GCC to only define
standard C features, which basically undefines the macros GNU_SOURCE, POSIX_SOURCE, XOPEN_SOURCE, etc. etc. and therefore removes the availability of non-standard functions.