Compile issue on Linux x86_64
"Thomas Nelson" <[email protected]>
| Newsgroups | gmane.comp.lang.lua.bind.user |
|---|---|
| Message-ID | <F9D8A61D7A9E45E18ECDC385D1B11A48@Spawn> |
I just bumped myself up to 0.9 and updated my build scripts.
Item the first:
Good job. I actually get warm fuzzies when a code base gets smaller; it
means that people are putting thought and effort into keeping it clean and
clean code is usually good code. Makes me know that I made the right
decision when I chose it.
Item the second:
I'm getting no problems with the MSVC build (32bit) but on Linux (Fedora12
x86_64, gcc 4.4.3-4) I'm getting a build error (exact error after note) but
it looks like a conversion between void * and int.
Anyone else see/solve this yet? I'm investigating now.
Error:
Building CXX object external/luabind/CMakeFiles/luabind.dir/src/class.cpp.o
In file included from
/usr/lib/gcc/x86_64-redhat-linux/4.4.3/../../../../include/c++/4.4.3/utility
:64,
from /usr/local/include/boost/foreach.hpp:28,
from
/home/tomn/work/eidolon/external/luabind/src/class.cpp:26:
/usr/lib/gcc/x86_64-redhat-linux/4.4.3/../../../../include/c++/4.4.3/bits/st
l_pair.h: In constructor 'std::pair<_T1, _T2>::pair(_U1&&, _U2&&) [with _U1
= int, _U2 = int, _T1 = void*, _T2 = int]':
/home/tomn/work/eidolon/external/luabind/./luabind/detail/object_rep.hpp:58:
instantiated from here
/usr/lib/gcc/x86_64-redhat-linux/4.4.3/../../../../include/c++/4.4.3/bits/st
l_pair.h:90: error: invalid conversion from 'int' to 'void*'
make[2]: *** [external/luabind/CMakeFiles/luabind.dir/src/class.cpp.o] Error
1
make[1]: *** [external/luabind/CMakeFiles/luabind.dir/all] Error 2
make: *** [all] Error 2
TomN
--
Thomas Nelson [email protected]
--------------------------------------------------------------
"If you still have gas, you're not lost".
- French explorer Pierre Frontage.
(M.Frontage was so influential in the exploration of North America many
roads are still named after him.)
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev