X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=inline;f=src%2FgdcmDictEntry.cxx;h=1e135cb65dae7045e178320209bfad79d0e3628b;hb=af94ab6719e309d3dd9730d5656057c429106938;hp=152e6d090d03a3a19c18e60652e238bca3c7ad0a;hpb=3e78befc911eac2ecc70747854911d1f803797b5;p=gdcm.git diff --git a/src/gdcmDictEntry.cxx b/src/gdcmDictEntry.cxx index 152e6d09..1e135cb6 100644 --- a/src/gdcmDictEntry.cxx +++ b/src/gdcmDictEntry.cxx @@ -1,13 +1,23 @@ // gdcmDictEntry.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 // FIXME For sprintf #include "gdcmDictEntry.h" #include "gdcmUtil.h" gdcmDictEntry::gdcmDictEntry(guint16 InGroup, guint16 InElement, - std::string InVr, std::string InFourth, - std::string InName) { + std::string InVr, std::string InFourth, + std::string InName) { group = InGroup; element = InElement; vr = InVr;