]> Creatis software - gdcm.git/blobdiff - src/gdcmTS.cxx
warning added in doxygen part
[gdcm.git] / src / gdcmTS.cxx
index bb18e34308b5da06eea488de6e102daa7794b3dd..8ed38d0ba186ac16905aa923526bb87fbd9d8b5b 100644 (file)
@@ -1,5 +1,15 @@
 // gdcmTS.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 <stdio.h>
 
 #include "gdcmTS.h"
@@ -175,6 +185,6 @@ int gdcmTS::Count(TSKey key) {
 
 std::string gdcmTS::GetValue(TSKey key) {
    if (ts.count(key) == 0) 
-      return ("gdcm::Unfound");
+      return (GDCM_UNFOUND);
    return ts[key];
 }