Re: [Boost-bugs] [Boost C++ Libraries] #1967: bjam bug? iostreams + zlib won't build for VC8 or MinGW with small hack to Jamfile.v2

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1967: bjam bug? iostreams + zlib won't build for VC8 or MinGW with small hack to Jamfile.v2
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-06-03 18:56:36


#1967: bjam bug? iostreams + zlib won't build for VC8 or MinGW with small hack to
Jamfile.v2
----------------------------------------+-----------------------------------
  Reporter: brian.pratt_at_[hidden] | Owner: vladimir_prus
      Type: Bugs | Status: new
 Milestone: Boost 1.36.0 | Component: Building Boost
   Version: Boost 1.35.0 | Severity: Problem
Resolution: | Keywords:
----------------------------------------+-----------------------------------
Comment (by brian.pratt_at_[hidden]):

 I notice a typo in the bug description, I meant to say "without small
 hack", of course. Oops.

 Near as I can tell the problem is that when NO_ZLIB is defined to 0 it
 still triggers the logic, as if it's an ifdef instead of an if, if you see
 what I mean.

 Here's my change as a unified diff against trunk as requested:

 --- Jamfile.orig Tue Jun 3 11:52:46 2008
 +++ Jamfile.v2 Thu May 29 07:58:30 2008
 @@ -55,7 +55,8 @@
         modules.poke : NO_$(LIB) : 1 ;
      }

 - if $(NO_COMPRESSION) || $(NO_$(LIB))
 + # bpratt added the = 1 tests here to get zlib working in MinGW and
 VC8
 + if $(NO_COMPRESSION) = 1 || $(NO_$(LIB)) = 1
      {
          if $(debug)
          {
 @@ -141,7 +142,6 @@

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1967#comment:3>
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:49:58 UTC