Re: Another x64 warning

"Thomas Nelson" <[email protected]>
Newsgroups gmane.comp.lang.lua.bind.user
Message-ID <870B970A9BF8498A826A1241459F288B@Spawn>
The second issue you ran into is the same one that I did a few weeks ago and
has to do with a breaking change to the C++ standard (c++0x) regarding
variadic templates and NULL.  Look in the archives for the thread named
“Compile issue on Linux x86_64” 

 

I submitted a patch for it a few weeks ago and I believe that Daniel has
applied it to the source tree.

 

The first warning you encountered isn’t worth breaking a sweat over unless
you are dealing with mind bogglingly large objects or offsets… 

--
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.) 

  _____  

From: Kristoffer Danielsson [mailto:[email protected]] 



 

inheritance.cpp(181): warning C4267: 'initializing' : conversion from
'size_t' to 'int', possible loss of data
 
.\src\inheritance.cpp(181) : see reference to function template
instantiation 'std::pair<_Ty1,_Ty2>::pair<void*,size_t>(const
std::pair<_Ty1,size_t> &)' being compiled
with
[
_Ty1=void *,
_Ty2=int
]
 
 
I believe the error lies in the return type:
 
std::pair<void*, int> cast_graph::impl::cast(
should be
std::pair<void*, size_t> cast_graph::impl::cast(
 
 
 
Has luabind+lua ever been tested with x64?

  _____  

Läs och svara på mejl direkt i mobilen! Klicka här!
<http://new.windowslivemobile.msn.com/SE-SE/windows-live-hotmail/default.asp
x>

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

_______________________________________________
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.