From: malaterre Date: Thu, 23 Oct 2003 15:54:49 +0000 (+0000) Subject: *FIX: More pragma disable fro VC++, I don't think I break something as it is also... X-Git-Tag: Version0.3.1~87 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=efc4d18faced64c24c75448b61685f92f2d799ce;p=gdcm.git *FIX: More pragma disable fro VC++, I don't think I break something as it is also disable in VTK/ITK. But it fasten debug compilation time. --- diff --git a/src/gdcmCommon.h b/src/gdcmCommon.h index cc80d9e9..326c44ad 100644 --- a/src/gdcmCommon.h +++ b/src/gdcmCommon.h @@ -13,6 +13,14 @@ #pragma warning ( disable : 4786 ) //'identifier' : decorated name length exceeded, name was truncated #pragma warning ( disable : 4503 ) +// C++ exception specification ignored except to indicate a +// function is not __declspec(nothrow) +#pragma warning ( disable : 4290 ) +// signed/unsigned mismatch +#pragma warning ( disable : 4018 ) +// return type for 'identifier' is '' (ie; not a UDT or reference to UDT. Will +// produce errors if applied using infix notation +#pragma warning ( disable : 4284 ) #endif //_MSC_VER #ifdef __GNUC__