From: jpr Date: Thu, 23 Jun 2005 09:20:23 +0000 (+0000) Subject: Extend warning message, for debugging purpose X-Git-Tag: Version1.2.bp~452 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=957dcd905e535fcfe37185ca5ea08a801e3078d3;p=gdcm.git Extend warning message, for debugging purpose --- diff --git a/src/gdcmDocument.cxx b/src/gdcmDocument.cxx index af427024..70e868c1 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/22 08:01:41 $ - Version: $Revision: 1.249 $ + Date: $Date: 2005/06/23 09:20:23 $ + Version: $Revision: 1.250 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -1981,7 +1981,8 @@ bool Document::CheckSwap() */ void Document::SwitchByteSwapCode() { - gdcmWarningMacro( "Switching Byte Swap code from "<< SwapCode); + gdcmWarningMacro( "Switching Byte Swap code from "<< SwapCode + << " at :" <tellg() ); if ( SwapCode == 1234 ) { SwapCode = 4321;