2 //-----------------------------------------------------------------------------
6 //This is needed when compiling in debug mode
8 // 'identifier' : class 'type' needs to have dll-interface to be used by
9 // clients of class 'type2'
10 #pragma warning ( disable : 4251 )
11 // 'identifier' : identifier was truncated to 'number' characters in the
13 #pragma warning ( disable : 4786 )
14 //'identifier' : decorated name length exceeded, name was truncated
15 #pragma warning ( disable : 4503 )
16 // C++ exception specification ignored except to indicate a
17 // function is not __declspec(nothrow)
18 #pragma warning ( disable : 4290 )
19 // signed/unsigned mismatch
20 #pragma warning ( disable : 4018 )
21 // return type for 'identifier' is '' (ie; not a UDT or reference to UDT. Will
22 // produce errors if applied using infix notation
23 #pragma warning ( disable : 4284 )
27 // It reminds me the formerly well known LibIDO's idproto.h
29 //-----------------------------------------------------------------------------
31 #ifndef HAVE_NO_STDINT_H
33 #define guint16 uint16_t
34 #define guint32 uint32_t
35 #define gint16 int16_t
36 #define gint32 int32_t
38 typedef unsigned short guint16;
39 typedef unsigned int guint32;
42 #define UINT32_MAX (4294967295U)
43 #endif //HAVE_NO_STDINT_H
47 typedef unsigned short guint16;
48 typedef unsigned int guint32;
51 #define UINT32_MAX (4294967295U)
55 #define GDCM_EXPORT __declspec( dllexport )
62 const std::string GDCM_UNFOUND = "gdcm::Unfound";
64 typedef std::string TagKey;
65 typedef std::string TagName;
75 //For now gdcm is not willing cmake, try to be more quiet
76 //#cmakedefine GDCM_NO_ANSI_STRING_STREAM
78 //-----------------------------------------------------------------------------