Update of /cvsroot/luabind/luabind/luabind/luabind/detail
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32268/luabind/detail
Modified Files:
Tag: beta7-devel2
class_rep.hpp overload_rep.hpp
Log Message:
Index: overload_rep.hpp
===================================================================
RCS file: /cvsroot/luabind/luabind/luabind/luabind/detail/overload_rep.hpp,v
retrieving revision 1.6.2.2
retrieving revision 1.6.2.3
diff -u -d -r1.6.2.2 -r1.6.2.3
--- overload_rep.hpp 1 Aug 2005 17:24:32 -0000 1.6.2.2
+++ overload_rep.hpp 10 Oct 2005 09:51:18 -0000 1.6.2.3
@@ -32,12 +32,15 @@
#include <boost/preprocessor/iteration/iterate.hpp>
#include <boost/preprocessor/repetition/enum_trailing_params.hpp>
#include <boost/preprocessor/repeat.hpp>
+#include <vector>
#include <luabind/detail/overload_rep_base.hpp>
-#include <luabind/detail/class_rep.hpp>
#include <luabind/detail/is_indirect_const.hpp>
+
+#ifndef BOOST_MSVC
#include <luabind/detail/policy.hpp>
+#endif
namespace luabind { namespace detail
{
Index: class_rep.hpp
===================================================================
RCS file: /cvsroot/luabind/luabind/luabind/luabind/detail/class_rep.hpp,v
retrieving revision 1.41.2.5
retrieving revision 1.41.2.6
diff -u -d -r1.41.2.5 -r1.41.2.6
--- class_rep.hpp 10 Oct 2005 09:07:07 -0000 1.41.2.5
+++ class_rep.hpp 10 Oct 2005 09:51:18 -0000 1.41.2.6
@@ -41,7 +41,15 @@
#include <luabind/error.hpp>
#include <luabind/handle.hpp>
#include <luabind/detail/primitives.hpp>
+
+#ifdef BOOST_MSVC
+// msvc doesn't have two-phase, but requires
+// method_rep (and overload_rep) to be complete
+// because of its std::list implementation.
+// gcc on the other hand has two-phase but doesn't
+// require method_rep to be complete.
#include <luabind/detail/method_rep.hpp>
+#endif
namespace luabind
{
|