From: asl Date: Wed, 22 Mar 2006 08:55:26 +0000 (+0000) Subject: PAL11052 - exception messages must don't contain file and line number info in optimiz... X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=01b38ac117919a6fb8c1695f2268f5f8c81a2715;p=modules%2Fkernel.git PAL11052 - exception messages must don't contain file and line number info in optimized mode --- diff --git a/src/Utils/Utils_SALOME_Exception.hxx b/src/Utils/Utils_SALOME_Exception.hxx index c870618aa..03fc295fa 100644 --- a/src/Utils/Utils_SALOME_Exception.hxx +++ b/src/Utils/Utils_SALOME_Exception.hxx @@ -32,7 +32,11 @@ # include # include +#ifdef _DEBUG_ # define LOCALIZED(message) #message , __FILE__ , __LINE__ +#else +# define LOCALIZED(message) message +#endif #if defined UTILS_EXPORTS #if defined WIN32