Generate a warning if a DEBUG release/version is running

pull/3557/head
René Cannaò 5 years ago
parent fdcbdd89db
commit ef2dd294e9

@ -1831,6 +1831,9 @@ __start_label:
std::cerr << "Main init phase3 completed in ";
#endif
}
#ifdef DEBUG
std::cerr << "WARNING: this is a DEBUG release and can be slow or perform poorly. Do not use it in production" << std::endl;
#endif
{
unsigned int missed_heartbeats = 0;

Loading…
Cancel
Save