Closed cen1 closed 3 years ago
It’s likely because <time.h>
isn’t included. If that’s the case, then I simply made an incorrect assumption that <ctime>
will (usually) include <time.h>
.
Can you try adding an #include <time.h>
at https://github.com/pvpgn/pvpgn-server/blob/develop/ConfigureChecks.cmake#L191
So libstdc++'s <ctime>
header does include <time.h>
, so gmtime_r()
should be in the global namespace.
Why it fails to compile? Still a mystery
Both gmtime_s() and gmtime_r() are not available
Two problems here