All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
WarningDisable.h
Go to the documentation of this file.
1 //=================================================================================================
20 //=================================================================================================
21 
22 #ifndef _BLAZE_SYSTEM_WARNINGDISABLE_H_
23 #define _BLAZE_SYSTEM_WARNINGDISABLE_H_
24 
25 
26 //=================================================================================================
27 //
28 // MICROSOFT VISUAL STUDIO WARNINGS
29 //
30 //=================================================================================================
31 
32 #if defined(_MSC_VER) && (_MSC_VER >= 1400)
33 
34  // Disables a 'deprecated' warning for some standard library functions. This warning
35  // is emitted when you use some perfectly conforming library functions in a perfectly
36  // correct way, and also by some of Microsoft's own standard library code. For more
37  // information about this particular warning, see
38  // http://msdn.microsoft.com/en-us/library/ttcz0bys(VS.80).aspx
39 # pragma warning(disable:4996)
40 
41  // Disables a warning for a this pointer that is passed to a base class in the constructor
42  // initializer list.
43 # pragma warning(disable:4355)
44 
45  // Disables the warning for ignored C++ exception specifications.
46 # pragma warning(disable:4290)
47 
48 #endif
49 
50 
51 
52 
53 //=================================================================================================
54 //
55 // INTEL WARNINGS
56 //
57 //=================================================================================================
58 
59 #if defined(__INTEL_COMPILER) || defined(__ICL)
60 
61  // Disables a 'deprecated' warning for some standard library functions.
62 # pragma warning(disable:1786)
63 
64 #endif
65 
66 #endif