Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8719: Not possible to target older iOS major version when using SDK from later version
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-06-21 11:41:28
#8719: Not possible to target older iOS major version when using SDK from later
version
--------------------------------------------+----------------------------
Reporter: William Gallafent <william@â¦> | Owner:
Type: Bugs | Status: new
Milestone: To Be Determined | Component: Building Boost
Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
--------------------------------------------+----------------------------
Comment (by William Gallafent <william@â¦>):
I have currently fudged my way around this by adding the following code
above the minor-version recursion that I quoted in the original report:
{{{
if $(version[2]) > 4
{
# ToDo: How do we know at what number to start counting down the
minor revision,
# for the previous major revision?
# For now just fudge: historically the highest it's ever got is 3
(for 4.3).
# Should also work out how much lower than current SDK version to
go down to,
# looking at historical minimum target versions for given SDK
versions
# (This also applies for actual Mac OS X, as well as iOS)
local major-minus-1 = [ CALC $(version[2]) - 1 ] ;
return
[ init-sdk $(condition) : $(root)
: $(version[1]) $(major-minus-1) 3 : [ version-to-
feature $(version[1]) $(major-minus-1) 3 ] ]
$(version-feature) ;
}
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8719#comment:1> 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:13 UTC