From: jpr Date: Wed, 21 Jun 2006 14:06:56 +0000 (+0000) Subject: Add verbosity when something wrong happens X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=fa44ba5d9d541ae25e7902515483124d6251b777;p=gdcm.git Add verbosity when something wrong happens --- diff --git a/src/gdcmDocument.cxx b/src/gdcmDocument.cxx index 57193f20..fbc71743 100644 --- a/src/gdcmDocument.cxx +++ b/src/gdcmDocument.cxx @@ -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 ) {