Re: [luabind] Luabind and VS .NET 2003
Brought to you by:
arvidn,
daniel_wallin
From: Daniel W. <dal...@st...> - 2003-04-16 15:31:04
|
At 12:40 2003-04-16, you wrote: >Hi > >This is the result of compilation with MSVC 7.1 (Visual C++ .NET 2003): > >../external\luabind\luabind\detail\primitives.hpp(65) : warning C4267: >'initializing' : conversion from 'size_t' to 'int', possible loss of data >../external\luabind\luabind\object.hpp(153) : error C2027: use of undefined >type 'luabind::object' >../external\luabind\luabind\object.hpp(90) : see declaration of >'luabind::object' >../external\luabind\luabind\object.hpp(177) : see reference to class >template instantiation 'luabind::detail::proxy_caller<Tuple>' being compiled > >It seems that definition of template operator[] should be divided to >declaration and definition (placed after definition of luabind::object). Since this is a template I would have expected it to compile. Moving the definition out of the class-body will break vc6 (and perhaps vc7) support, so we'll move it out and place it in #ifdef's so it'll compile on vc7.1. Daniel Wallin, dal...@st... |