Luabind and MSVC2010

Emmanuel Barroga <[email protected]>
Newsgroups gmane.comp.lang.lua.bind.user
Message-ID <[email protected]>
I receive the following compile error:

C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\utility(163) :
error C2
440: 'initializing' : cannot convert from 'int' to 'void *'

What do I need to do to get Luabind compiled with VS 2010?

I've read a few messages that seem to have the same problem but the
following was said:

This was fixed a while back on the 0.9 branch:

commit b158edf97f7cf9318838d1928ebf95a1e03d52fb
Author: Thomas Nelson <[email protected]>
Date:   Wed Feb 17 00:38:42 2010 +0100

    Workaround C++0x pair<> constructor with null pointer issue.

    This is present in both GCC4.4 and MSVC10. See:

      http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-active.html#811


I have 0.9 and it doesn't seem like its fixed.
-- 
Regards,
Emmanuel Barroga

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first

_______________________________________________
luabind-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luabind-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.