Re: [Boost-bugs] [Boost C++ Libraries] #3430: Build boost.regex shared-link 1.40 under mingw 3.4

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3430: Build boost.regex shared-link 1.40 under mingw 3.4
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-11-16 17:05:46


#3430: Build boost.regex shared-link 1.40 under mingw 3.4
-----------------------------------------------+----------------------------
 Reporter: Oleg Tsarev <zabivator@…> | Owner: vladimir_prus
     Type: Bugs | Status: new
Milestone: Boost 1.41.0 | Component: build
  Version: Boost 1.40.0 | Severity: Problem
 Keywords: bjam |
-----------------------------------------------+----------------------------

Comment(by johnmaddock):

 {{{
 BOOST_REGEX_NO_EXTERNAL_TEMPLATES did indeed help! All tests passed.
 Thanks! What does this mean then? ;)
 }}}

 It means it might work, or it might not!

 Normally the regex library instantiates the most commonly used templates
 in the library - as this speeds up compilation times no end - as well as
 reducing binary sizes. Defining BOOST_REGEX_NO_EXTERNAL_TEMPLATES
 disables this, so the same templates end up getting instantiated in both
 the dll and the application. Frankly if this doesn't work though, then I
 do wonder whether there isn't some hidden bug in gcc relating to sharing
 template instances across dll-boundaries :-(

 I will try and investigate some more though.

 {{{
 about your other problem - I managed to install on Win7
 with no troubles whatsoever following those instructions.
 }}}

 Sigh... for me not only does gcc crash and burn when I try and compile a
 hello-world app... it actually managed to bring down my whole machine :-(

 Cheers, John.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3430#comment:18>
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:01 UTC