Compilation failing on MacOS with weird errors when _POSIX_C_SOURCE is defined With the follow compiler flags: