summaryrefslogtreecommitdiff
path: root/tmpl/callable.tmpl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tmpl/callable.tmpl.hpp')
-rw-r--r--tmpl/callable.tmpl.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/tmpl/callable.tmpl.hpp b/tmpl/callable.tmpl.hpp
index 900bae4..f8d47b1 100644
--- a/tmpl/callable.tmpl.hpp
+++ b/tmpl/callable.tmpl.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>
@@ -91,4 +96,8 @@ private:
#include <gras/detail/callable.hpp>
+#ifdef _MSC_VER
+#pragma warning(pop)
+#endif //_MSC_VER
+
#endif /*INCLUDED_GRAS_CALLABLE_HPP*/