]> Creatis software - gdcm.git/commitdiff
Add verbosity when something wrong happens
authorjpr <jpr>
Wed, 21 Jun 2006 14:06:56 +0000 (14:06 +0000)
committerjpr <jpr>
Wed, 21 Jun 2006 14:06:56 +0000 (14:06 +0000)
src/gdcmDocument.cxx

index 57193f206eb4a86fa4e1eb873c334147eb6f108e..fbc717435e6030132b576b6619da0410fc71ded7 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDocument.cxx,v $
   Language:  C++
-  Date:      $Date: 2006/06/15 14:22:33 $
-  Version:   $Revision: 1.350 $
+  Date:      $Date: 2006/06/21 14:06:56 $
+  Version:   $Revision: 1.351 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -1993,6 +1993,9 @@ bool Document::CheckSwap()
          //  Find a trick to tell it the caller...
       
          s16 = *((uint16_t *)(deb));
+         gdcmDebugMacro("not a DicomV3 nor a 'clean' ACR/NEMA;"
+                     << " (->despaired wild guesses !)"); 
       
          switch ( s16 )
          {