-// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2023 CEA, EDF, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
void SMESH::doNothing(const char* txt)
{
+ (void)txt; // unused in release mode
MESSAGE( txt << " " << __FILE__ << ": " << __LINE__ );
}
return txt;
}
+void SMESH::printErrorInDebugMode(const char* txt)
+{
+ if (SALOME::VerbosityActivated())
+ std::cerr << txt << " " << __FILE__ << ": " << __LINE__ << std::endl;
+}
+
// ------------------------------------------------------------------
#include "SMESH_ComputeError.hxx"