Skip to content

Commit 9e232c4

Browse files
committed
update compile settings
1 parent 185dca5 commit 9e232c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/toolkit_config.h.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
#ifdef _WIN32
88
#define __func__ __FUNCTION__
99
#define M_PI 3.1415926535897932384
10-
#pragma warning(disable:4251) /*no DLL interface for type of member of exported class*/
11-
#pragma warning(disable:4275) /*no DLL interface for base class of exported class*/
1210
#endif
1311

1412
// Handle portable symbol export.
@@ -23,6 +21,8 @@
2321
// is handled by the compiler, see: http://gcc.gnu.org/wiki/Visibility
2422
# if defined _WIN32 || defined __CYGWIN__
2523
// On Microsoft Windows, use dllimport and dllexport to tag symbols.
24+
# pragma warning(disable:4251) /*no DLL interface for type of member of exported class*/
25+
# pragma warning(disable:4275) /*no DLL interface for base class of exported class*/
2626
# define TOOLKIT_DLLIMPORT __declspec(dllimport)
2727
# define TOOLKIT_DLLEXPORT __declspec(dllexport)
2828
# define TOOLKIT_DLLLOCAL

0 commit comments

Comments
 (0)