]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
PAL11052 - exception messages must don't contain file and line number info in optimiz...
authorasl <asl@opencascade.com>
Wed, 22 Mar 2006 08:55:26 +0000 (08:55 +0000)
committerasl <asl@opencascade.com>
Wed, 22 Mar 2006 08:55:26 +0000 (08:55 +0000)
src/Utils/Utils_SALOME_Exception.hxx

index c870618aae1719ef383891205248107c8e7104b1..03fc295fae7c327f77e891f654aab8926dd82aab 100644 (file)
 # include <exception>
 # include <iostream>
 
+#ifdef _DEBUG_
 # define LOCALIZED(message) #message , __FILE__ , __LINE__
+#else
+# define LOCALIZED(message) message
+#endif
 
 #if defined UTILS_EXPORTS
 #if defined WIN32