/* @(#)build/win:$Id:$ */ /************************************************************************* * Copyright (C) 1995-2002, Rene Brun and Fons Rademakers. * * All rights reserved. * * * * For the licensing terms see $ROOTSYS/LICENSE. * * For the list of contributors see $ROOTSYS/README/CREDITS. * * * * >>>>>>>>>>> N.B. #ifndefs marked as //CYTONOME'S USAGE <<<<<<<<<<<< * * *************************************************************************/ #ifndef ROOT_w32pragma #define ROOT_w32pragma /************************************************************************* * * * w32pragma * * * * Pragmas and defines for MSVC * * * *************************************************************************/ #ifdef _WIN32 /* Disable warning about truncated symboles (usually coming from stl) */ #pragma warning (disable: 4786) /* Disable warning about inconsistent dll linkage (dllexport assumed) */ #pragma warning (disable: 4273) /* "no suitable definition provided for explicit template instantiation"*/ #pragma warning (disable: 4661) /* "deprecated, use ISO C++ conformant name" */ #pragma warning (disable: 4996) /* "new behavior: elements default initialized" */ #pragma warning (disable: 4351) /* local static not thread safe */ #pragma warning (disable: 4640) /*forcing int to bool (performance warning) */ #pragma warning (disable: 4800) /* truncation from double to float */ #pragma warning (disable: 4305) /* signed unsigned mismatch */ #pragma warning (disable: 4018) /* truncation of constant value */ #pragma warning (disable: 4309) /* check op precedence for error */ #pragma warning (disable: 4554) /* qualifier applied to reference type; ignored */ #pragma warning (disable: 4181) /* function is hidden */ #pragma warning (3: 4266) /* loop control variable is used outside the for-loop scope */ #pragma warning (3: 4289) #define WIN32 1 #define _WINDOWS 1 #define WINVER 0x0400 #define CRTAPI1 _cdecl #define CRTAPI2 _cdecl #ifndef _X86_ //CYTONOME'S USAGE #define _X86_ 1 #endif // #define _DLL - used to be explicitely defined, // but it's implicitely defined via /MD(d) #define VISUAL_CPLUSPLUS 1 #define G__REDIRECTIO 1 #define G__SHAREDLIB 1 #define G__UNIX 1 #define G__ROOT 1 #define G__WIN32 1 #if (_MSC_VER >= 1310) # define G__NEWSTDHEADER 1 #endif #if (_MSC_VER >= 1400) #ifndef _CRT_SECURE_NO_DEPRECATE //CYTONOME'S USAGE #define _CRT_SECURE_NO_DEPRECATE 1 #endif #ifndef _SECURE_SCL //CYTONOME'S USAGE #define _SECURE_SCL 0 #endif #ifndef _HAS_ITERATOR_DEBUGGING //CYTONOME'S USAGE #define _HAS_ITERATOR_DEBUGGING 0 #endif #endif // _MSC_VER >= 1400 #endif // _WIN32 #if defined(__cplusplus) && defined(USEPCH) # include "precompile.h" #endif #endif // defined ROOT_w32pragma