https://github.com/root-project/root
Raw File
Tip revision: 60178733194062eb2fbb693797195373290b855b authored by Axel Naumann on 25 August 2021, 12:35:56 UTC
"Update ROOT version files to v6.24/04."
Tip revision: 6017873
checkAssertsNDEBUG.cxx
#include "TError.h"

int main()
{
#ifdef NDEBUG
   Error("checkAssertsNDEBUG", "Compiling without assertions (NDEBUG flag is enabled) but asserts are configured");
   return 1;
#else
   return 0;
#endif
}
back to top