From a4a4d786fdefad3af77842f41b12dcb85b7b1142 Mon Sep 17 00:00:00 2001 From: jpr Date: Sun, 19 Jun 2005 15:57:29 +0000 Subject: [PATCH] To avoid warnings at compile time --- src/gdcmDocument.cxx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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()); } } -- 2.45.1