Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6659: Filesystem compilation broken on Solaris 9 and 10
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-04-06 12:22:25
#6659: Filesystem compilation broken on Solaris 9 and 10
----------------------------------------+-------------------------
Reporter: Vasily Sukhanov <basil@â¦> | Owner: bemandawes
Type: Bugs | Status: reopened
Milestone: To Be Determined | Component: filesystem
Version: Boost 1.49.0 | Severity: Regression
Resolution: | Keywords: compilation
----------------------------------------+-------------------------
Changes (by szatmari.zs@â¦):
* status: closed => reopened
* resolution: fixed =>
Comment:
Hi!
This causes problems again. If compiled on a Mac with a target sdk of OS
X 10.10 (Yosemite), but -mmacosx-version-min=10.7 (or anything before
10.10), it compiles and links successfully, but it will crash when
deployed on older os, but only if it hits this function, so it might
appear to be quite hectic and hard to diagnose if deployed on the end
user's machine, therefore this is a severe problem.
I am sure mmacosx-version-min defines some macros, but I wouldn't bother
with it, really, just add an another fallback condition for chmod if:
defined(__APPLE__)
so operations.cpp:1418 becomes:
# if defined(AT_FDCWD) && defined(AT_SYMLINK_NOFOLLOW) \
&& !(defined(__SUNPRO_CC) || defined(__sun) || defined(sun)) \
&& !(defined(linux) || defined(__linux) || defined(__linux__)) \
&& !(defined(__APPLE__))
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6659#comment:15> 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:18 UTC