Hello Szymon and thanks. That, of course, hits the nail right on the head. The macro was defined out-of-view in the properties editor!
From: Boost-users [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Szymon Gatner
Sent: 21 May 2014 16:52
To: boost-users
Subject: Re: [Boost-users] Sanity check please?: Boost 1_55_0 and building VS2012 static libs?
Most likely you main project has _SECURE_SCL=0 defined but BOOST was build without it.
Use it when building BOOSt with b2
2014-05-21 16:51 GMT+02:00 :
Revisiting Boost after a long absence. Any thoughts on the following
problem(s)?
W7x64 with VS2008,2010,2012 and 2013 installed. VS2012 preferred for regular
use.
Built with boostrap and b2
b2 -link=static -runtime-link=static -toolset=msvc-11.0.
I compile a debug test app with /MTd and attempt to link with
libboost_system-vc110-mt-gd-1_55.lib which is the only library close to
matching the ABI tag specified here :
http://www.boost.org/doc/libs/1_55_0/more/getting_started/windows.html#id46
Ensuing link errors are:
1>libboost_system-vc110-mt-gd-1_55.lib(error_code.obj) : error LNK2038:
mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value
'0' in tcpproxy_server.obj
1>libboost_system-vc110-mt-gd-1_55.lib(error_code.obj) : error LNK2038:
mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't
match value 'MT_StaticRelease' in tcpproxy_server.obj
1>LINK : warning LNK4098: defaultlib 'MSVCRTD' conflicts with use of other
libs; use /NODEFAULTLIB:library
Many thanks.
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users
--
Szymon Gatner
Bravasoft / The Lordz Games Studio
Twitter: @sgatner