[Boost-bugs] [Boost C++ Libraries] #7864: Boost.Context fails to build with Visual Studio

Subject: [Boost-bugs] [Boost C++ Libraries] #7864: Boost.Context fails to build with Visual Studio
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-01-07 18:32:53


#7864: Boost.Context fails to build with Visual Studio
--------------------------+-------------------------------------------------
 Reporter: marshall | Owner: olli
     Type: Bugs | Status: new
Milestone: Boost 1.53.0 | Component: context
  Version: Boost 1.52.0 | Severity: Showstopper
 Keywords: |
--------------------------+-------------------------------------------------
 In the 1.53.0 beta1, Boost.Context fails to build:

 {{{

 C:\VC\boost_1_53_0_beta1>b2 --build-type=complete

 msvc.link.dll
 bin.v2\libs\context\build\msvc-11.0\debug\threading-multi\boost_context-
 vc110-mt-gd-1_53.dll
   Creating library

 bin.v2\libs\context\build\msvc-11.0\debug\threading-multi\boost_context-
 vc110-mt-gd-1_53.lib
 and object bin.v2\libs\context\build\msvc-11.0\
 debug\threading-multi\boost_context-vc110-mt-gd-1_53.exp
 make_i386_ms_pe_masm.obj : error LNK2019: unresolved external symbol
 __exit referenced in function _make_fcontext
 LINK : error LNK2001: unresolved external symbol __DllMainCRTStartup_at_12

 bin.v2\libs\context\build\msvc-11.0\debug\threading-multi\boost_context-
 vc110-mt-gd-1_53.dll
 : fatal error LNK1120: 2 unresolved externals
 <snip>
 }}}

 On the boost list, Tom Kent reported:
      I'm showing the same errors for all visual studio versions I run
 (VC8, VC9,
      VC10, and VC11) with 32&64 bit complies.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7864>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:11 UTC