From: jpr Date: Sun, 19 Jun 2005 15:57:29 +0000 (+0000) Subject: To avoid warnings at compile time X-Git-Tag: Version1.2.bp~474 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;ds=inline;h=a4a4d786fdefad3af77842f41b12dcb85b7b1142;p=gdcm.git To avoid warnings at compile time --- diff --git a/src/gdcmDocument.cxx b/src/gdcmDocument.cxx index 508eb5d4..652e5ba9 100644 --- a/src/gdcmDocument.cxx +++ b/src/gdcmDocument.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDocument.cxx,v $ Language: C++ - Date: $Date: 2005/06/17 12:36:07 $ - Version: $Revision: 1.246 $ + Date: $Date: 2005/06/19 15:57:29 $ + Version: $Revision: 1.247 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -1283,7 +1283,9 @@ void Document::LoadDocEntry(DocEntry *entry) } else { - gdcmErrorMacro( "Should have a ValEntry, here !"); + gdcmWarningMacro("Should have a ValEntry, here ! " << valEntry->GetKey() + << " lgt : " << valEntry->GetReadLength() + << " at " << std::hex << valEntry->GetOffset()); } }