X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDict.cxx;h=6808a8d0b27778cf83e319aefdab33fc3c875b85;hb=06e5584ba82b9878b3e544a53c9575cf363fdb8c;hp=acd88f8931c9cf2664dc7812b7f94139351ca10e;hpb=7589d23967892c94462e22a49ec50fcd225c5c38;p=gdcm.git diff --git a/src/gdcmDict.cxx b/src/gdcmDict.cxx index acd88f89..6808a8d0 100644 --- a/src/gdcmDict.cxx +++ b/src/gdcmDict.cxx @@ -1,5 +1,15 @@ // gdcmDict.cxx +//This is needed when compiling in debug mode +#ifdef _MSC_VER +// 'identifier' : class 'type' needs to have dll-interface to be used by +// clients of class 'type2' +#pragma warning ( disable : 4251 ) +// 'identifier' : identifier was truncated to 'number' characters in the +// debug information +#pragma warning ( disable : 4786 ) +#endif //_MSC_VER + #include #include "gdcmDict.h" #include "gdcmUtil.h" @@ -52,7 +62,7 @@ gdcmDict::~gdcmDict() { } KeyHt.clear(); // Since AddNewEntry adds symetrical in both KeyHt and NameHT we can - // assume all the pointed gdcmDictEntries are allready cleaned-up when + // assume all the pointed gdcmDictEntries are already cleaned-up when // we cleaned KeyHt. NameHt.clear(); } @@ -151,7 +161,7 @@ int gdcmDict::ReplaceEntry(gdcmDictEntry* NewEntry) { key = NewEntry->GetKey(); if(KeyHt.count(key) == 1) { - dbg.Verbose(1, "gdcmDict::AddNewEntry allready present", key.c_str()); + dbg.Verbose(1, "gdcmDict::AddNewEntry already present", key.c_str()); return(0); } else { KeyHt[NewEntry->GetKey()] = NewEntry;