Blaze 3.9
WarningDisable.h
Go to the documentation of this file.
1//=================================================================================================
33//=================================================================================================
34
35#ifndef _BLAZE_SYSTEM_WARNINGDISABLE_H_
36#define _BLAZE_SYSTEM_WARNINGDISABLE_H_
37
38
39//=================================================================================================
40//
41// MICROSOFT VISUAL STUDIO WARNINGS
42//
43//=================================================================================================
44
45#if defined(_MSC_VER) && (_MSC_VER >= 1400)
46
47 // Disables a 'deprecated' warning for some standard library functions. This warning
48 // is emitted when you use some perfectly conforming library functions in a perfectly
49 // correct way, and also by some of Microsoft's own standard library code. For more
50 // information about this particular warning, see
51 // http://msdn.microsoft.com/en-us/library/ttcz0bys(VS.80).aspx
52# pragma warning(disable:4996)
53
54 // Disables a warning for a this pointer that is passed to a base class in the constructor
55 // initializer list.
56# pragma warning(disable:4355)
57
58 // Disables the warning for ignored C++ exception specifications.
59# pragma warning(disable:4290)
60
61#endif
62
63
64
65
66//=================================================================================================
67//
68// INTEL WARNINGS
69//
70//=================================================================================================
71
72#if defined(__INTEL_COMPILER) || defined(__ICL)
73
74 // Disables a 'deprecated' warning for some standard library functions.
75# pragma warning(disable:1786)
76
77#endif
78
79#endif