From 9f1d8e892035a2e26cb2d06407722c0a7773e997 Mon Sep 17 00:00:00 2001
From: Josh Blum
Date: Sat, 13 Jul 2013 14:25:58 -0700
Subject: gras: minor tweaks to callable + gen script

---
 include/gras/callable.hpp | 9 +++++++++
 1 file changed, 9 insertions(+)

(limited to 'include')

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*/
-- 
cgit