Remote Call Framework 3.1
Warnings.hpp
1 
2 //******************************************************************************
3 // RCF - Remote Call Framework
4 //
5 // Copyright (c) 2005 - 2019, Delta V Software. All rights reserved.
6 // http://www.deltavsoft.com
7 //
8 // RCF is distributed under dual licenses - closed source or GPL.
9 // Consult your particular license for conditions of use.
10 //
11 // If you have not purchased a commercial license, you are using RCF
12 // under GPL terms.
13 //
14 // Version: 3.1
15 // Contact: support <at> deltavsoft.com
16 //
17 //******************************************************************************
18 
19 #ifndef INCLUDE_RCF_WARNINGS_HPP
20 #define INCLUDE_RCF_WARNINGS_HPP
21 
22 #if defined(_MSC_VER)
23 #pragma warning(disable: 4251) // warning C4251: '': class '' needs to have dll-interface to be used by clients of class ''
24 #pragma warning(disable: 4275) // warning C4275: non dll-interface class '' used as base for dll-interface class ''
25 #pragma warning(disable: 4834) // warning C4834 : discarding return value of function with 'nodiscard' attribute
26 #pragma warning(disable: 4127) // warning C4127: warning C4127: conditional expression is constant
27 #endif
28 
29 #endif // ! INCLUDE_RCF_WARNINGS_HPP