Re: Luabind link failed

Daniel Wallin <[email protected]>
Newsgroups gmane.comp.lang.lua.bind.user
Message-ID <[email protected]>
On Wed, Mar 24, 2010 at 11:22:55AM +0100, Mickaël SÉRÉGÉ wrote:
> Adding LUABIND_DYNAMIC_LINK when building my application did the trick.
> 
> Now link is successfull but i get 12 warnings (listed below). Are they
> important and can we get rid of it ?
> 
> 1>x:\dev\com.luabind.v0.9\luabind\detail\class_registry.hpp(61) : warning
> C4251: 'luabind::detail::class_registry::m_classes' : class
> 'std::map<_Kty,_Ty>' needs to have dll-interface to be used by clients of
> struct 'luabind::detail::class_registry'
[...]

No I wouldn't worry about them. You might need to build the DLL and the
application with the same settings and use the same CRT, but I'm not
sure.

-- 
Daniel Wallin
BoostPro Computing
http://www.boostpro.com

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