]> Creatis software - gdcm.git/commitdiff
Warning vs Error
authorjpr <jpr>
Wed, 9 Nov 2005 11:21:47 +0000 (11:21 +0000)
committerjpr <jpr>
Wed, 9 Nov 2005 11:21:47 +0000 (11:21 +0000)
(Not an "Error", since we go on anyway, and it works!)

src/gdcmFile.cxx

index 917ef615ab0c75f04fc0a750964554ac78928868..891a03f862a77fc3b460574652a6912fcbc4f5ff 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmFile.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/11/09 10:18:44 $
-  Version:   $Revision: 1.303 $
+  Date:      $Date: 2005/11/09 11:21:47 $
+  Version:   $Revision: 1.304 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -1724,7 +1724,7 @@ bool File::ReadTag(uint16_t testGroup, uint16_t testElem)
    { 
        // in order not to pollute output we don't warn on 'delimitors'
       if (itemTagGroup != 0xfffe ||  testGroup != 0xfffe )
-         gdcmErrorMacro( "Wrong Item Tag found:"
+         gdcmWarningMacro( "Wrong Item Tag found:"
           << "   We should have found tag ("
           << DictEntry::TranslateToKey(testGroup,testElem) << ")" << std::endl
           << "   but instead we encountered tag ("