https://github.com/root-project/root
Raw File
Tip revision: 729005709a50b1e2e8b5400a8a20c209af5c7cbe authored by Axel Naumann on 29 September 2022, 13:03:06 UTC
"Update ROOT version files to v6.24/08."
Tip revision: 7290057
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