]> Creatis software - gdcm.git/commitdiff
ENH put a debug macro trying to find problem with makedicomDir on Win32
authormalaterre <malaterre>
Wed, 12 Jan 2005 22:19:23 +0000 (22:19 +0000)
committermalaterre <malaterre>
Wed, 12 Jan 2005 22:19:23 +0000 (22:19 +0000)
src/gdcmDebug.h
src/gdcmDocument.cxx

index e35027af280aff272f4cd715d80598c93238b8a3..73743f260a2d98369aa15f94dce91e27f1f15601 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDebug.h,v $
   Language:  C++
-  Date:      $Date: 2005/01/12 21:53:32 $
-  Version:   $Revision: 1.20 $
+  Date:      $Date: 2005/01/12 22:19:23 $
+  Version:   $Revision: 1.21 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -134,7 +134,7 @@ public:
  */
 #define gdcmAssertMacro(arg)                               \
 {                                                          \
-   if( !(arg) )                                              \
+   if( !(arg) )                                            \
    {                                                       \
    std::ostringstream osmacro;                             \
    osmacro << "Assert: In " __FILE__ ", line " << __LINE__ \
index bcaeb6be8f102401d81e1aedbc25a7486347a1db..efed988242e598fcbef530bae531a58032ca273c 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDocument.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/01/12 19:49:34 $
-  Version:   $Revision: 1.185 $
+  Date:      $Date: 2005/01/12 22:19:23 $
+  Version:   $Revision: 1.186 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -346,7 +346,7 @@ std::ifstream *Document::OpenFile()
    Fp = new std::ifstream(Filename.c_str(), std::ios::in | std::ios::binary);
    if( ! *Fp )
    {
-      gdcmVerboseMacro( "Cannot open file: " << Filename.c_str());
+      gdcmDebugMacro( "Cannot open file: " << Filename.c_str());
       delete Fp;
       Fp = 0;
       return 0;