summaryrefslogtreecommitdiff
path: root/include/gras/callable.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/gras/callable.hpp')
-rw-r--r--include/gras/callable.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/gras/callable.hpp b/include/gras/callable.hpp
index b5003c1..fa07689 100644
--- a/include/gras/callable.hpp
+++ b/include/gras/callable.hpp
@@ -3,6 +3,11 @@
#ifndef INCLUDED_GRAS_CALLABLE_HPP
#define INCLUDED_GRAS_CALLABLE_HPP
+#ifdef _MSC_VER
+#pragma warning(push)
+#pragma warning (disable:4251) // needs to have dll interface
+#endif //_MSC_VER
+
#include <gras/gras.hpp>
#include <PMC/PMC.hpp>
#include <boost/shared_ptr.hpp>
@@ -207,4 +212,8 @@ private:
#include <gras/detail/callable.hpp>
+#ifdef _MSC_VER
+#pragma warning(pop)
+#endif //_MSC_VER
+
#endif /*INCLUDED_GRAS_CALLABLE_HPP*/