X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=src%2FgdcmDebug.h;h=422f0789cb11d939c6aa0517060a6c48222473cf;hb=5fd74f0089a19d2146c1916f55f0225901940154;hp=c135290d7f4bb347717b4b30e7f3b6b7abf3fd0d;hpb=c8674b38365e7959fddbce5467e5bc82bb1ed550;p=gdcm.git diff --git a/src/gdcmDebug.h b/src/gdcmDebug.h index c135290d..422f0789 100644 --- a/src/gdcmDebug.h +++ b/src/gdcmDebug.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDebug.h,v $ Language: C++ - Date: $Date: 2005/01/13 22:39:15 $ - Version: $Revision: 1.23 $ + Date: $Date: 2005/01/20 11:07:07 $ + Version: $Revision: 1.24 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -121,7 +121,9 @@ public: * @param msg message part */ #ifdef NDEBUG -#define gdcmVerboseMacro(msg) +#define gdcmVerboseMacro(msg) \ +{ \ +} #else #define gdcmVerboseMacro(msg) \ { \ @@ -148,8 +150,6 @@ public: #else #define gdcmErrorMacro(msg) \ { \ - if( Debug::GetDebugFlag() ) \ - { \ std::ostringstream osmacro; \ osmacro << "Error: In " __FILE__ ", line " << __LINE__ \ << ", function " << GDCM_FUNCTION << '\n' \ @@ -158,8 +158,6 @@ public: Debug::GetDebugFile() << osmacro.str() << std::endl; \ else \ std::cerr << osmacro.str() << std::endl; \ - exit(1); \ - } \ } #endif //NDEBUG