https://github.com/root-project/root
Raw File
Tip revision: 54807d9b7051c0e88d7074c9d2205bbd884e0210 authored by Axel Naumann on 12 April 2022, 16:24:02 UTC
"Update ROOT version files to v6.26/02."
Tip revision: 54807d9
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