Boost logo

Boost-Commit :

From: grafikrobot_at_[hidden]
Date: 2008-01-13 14:55:26


Author: grafik
Date: 2008-01-13 14:55:26 EST (Sun, 13 Jan 2008)
New Revision: 42733
URL: http://svn.boost.org/trac/boost/changeset/42733

Log:
Disable non-shared linkage warning when compiling Luabind as a shared lib with msvc.
Text files modified:
   sandbox/tools/build_extensions/ext/luabind.jam | 1 +
   1 files changed, 1 insertions(+), 0 deletions(-)

Modified: sandbox/tools/build_extensions/ext/luabind.jam
==============================================================================
--- sandbox/tools/build_extensions/ext/luabind.jam (original)
+++ sandbox/tools/build_extensions/ext/luabind.jam 2008-01-13 14:55:26 EST (Sun, 13 Jan 2008)
@@ -35,6 +35,7 @@
         #~ <warnings>off
         <toolset>msvc,<link>shared:<define>LUABIND_EXPORT=__declspec(dllexport)
         <toolset>msvc,<link>shared:<define>LUABIND_IMPORT=__declspec(dllimport)
+ <toolset>msvc:<cxxflags>-wd4251
         ;
     local common-requirements =
         <include>$(location)


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk