source/databaseConnection.cpp
auto tm = *std::localtime(&time_t);
Replace this call to the non reentrant function "localtime" by a call to "localtime_r".
A function is called reentrant if it can be interrupted in the middle of its execution and then safely called again ("re-entered") before its previous invocations complete execution.
It is especially important that multi-threaded applications do not call the same non-reentrant function from different threads.
source/databaseConnection.cpp
Replace this call to the non reentrant function "localtime" by a call to "localtime_r".
A function is called reentrant if it can be interrupted in the middle of its execution and then safely called again ("re-entered") before its previous invocations complete execution.
It is especially important that multi-threaded applications do not call the same non-reentrant function from different threads.