From 01b38ac117919a6fb8c1695f2268f5f8c81a2715 Mon Sep 17 00:00:00 2001 From: asl Date: Wed, 22 Mar 2006 08:55:26 +0000 Subject: [PATCH] PAL11052 - exception messages must don't contain file and line number info in optimized mode --- src/Utils/Utils_SALOME_Exception.hxx | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.2