Update of /cvsroot/luabind/luabind/luabind/luabind/detail
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15867/detail
Modified Files:
Tag: beta7-devel2
constructor.hpp object_rep.hpp signature_match.hpp
Log Message:
Index: signature_match.hpp
===================================================================
RCS file: /cvsroot/luabind/luabind/luabind/luabind/detail/signature_match.hpp,v
retrieving revision 1.3.2.2
retrieving revision 1.3.2.3
diff -u -d -r1.3.2.2 -r1.3.2.3
--- signature_match.hpp 18 Oct 2005 17:46:56 -0000 1.3.2.2
+++ signature_match.hpp 19 Oct 2005 11:46:43 -0000 1.3.2.3
@@ -246,6 +246,10 @@
#if N
int current_index = 0;
#endif
+ // Removes unreferenced local variable warning on VC7.
+ (void)start_index;
+ (void)L;
+
BOOST_PP_REPEAT(N, LUABIND_MATCH_DECL, _)
return m;
}
Index: constructor.hpp
===================================================================
RCS file: /cvsroot/luabind/luabind/luabind/luabind/detail/constructor.hpp,v
retrieving revision 1.7
retrieving revision 1.7.2.1
diff -u -d -r1.7 -r1.7.2.1
--- constructor.hpp 7 Aug 2004 13:37:10 -0000 1.7
+++ constructor.hpp 19 Oct 2005 11:46:43 -0000 1.7.2.1
@@ -103,8 +103,8 @@
{
template<class T, class Policies, BOOST_PP_ENUM_PARAMS(LUABIND_MAX_ARITY, class A)>
static T* execute(
- lua_State* L
- , weak_ref const& ref
+ lua_State*
+ , weak_ref const&
, T*
, constructor<BOOST_PP_ENUM_PARAMS(LUABIND_MAX_ARITY,A)>*
, Policies*)
Index: object_rep.hpp
===================================================================
RCS file: /cvsroot/luabind/luabind/luabind/luabind/detail/object_rep.hpp,v
retrieving revision 1.19
retrieving revision 1.19.2.1
diff -u -d -r1.19 -r1.19.2.1
--- object_rep.hpp 7 Aug 2004 13:37:10 -0000 1.19
+++ object_rep.hpp 19 Oct 2005 11:46:43 -0000 1.19.2.1
@@ -99,6 +99,8 @@
{
static void apply(void* ptr)
{
+ // Removes unreferenced formal parameter warning on VC7.
+ (void)ptr;
#ifndef NDEBUG
int completeness_check[sizeof(T)];
(void)completeness_check;
|