Okay, I've got something here.
The compiler errors are only about those gmtime_r and strtok_r declarations. I just commented out these two declarations in <utility.h> and built my project again. It compiles without errors. Apparently, the C library now defines these two functions.
Digging a little deeper into <time.h> from the toolchain bundled with Qt, I found this for gmtime_r:
#ifndef gmtime_r
#define gmtime_r(_Time,_Tm) ...
#ifndef gmtime_r
#define gmtime_r(_Time,_Tm) ...
To copy to clipboard, switch view to plain text mode
<pthread.h> contains the same thing for strtok_r. Was this added to the C library recently?
Bookmarks