Boost logo

Boost :

Subject: Re: [boost] [build] Currently broken with Xcode 8?
From: Peter Dimov (lists_at_[hidden])
Date: 2017-12-19 16:54:22


Steven Watanabe wrote:
> It's probably this:
>
> https://github.com/boostorg/build/commit/0c6d0165b096b9e026c933194eff4e12468f4307
>
> Does anyone know the correct way to detect whether struct stat has
> st_mtim (or does it have a different name on OSX?).

Judging by

https://github.com/tavianator/bfs/issues/12
https://github.com/tavianator/bfs/pull/13

the field is `struct timespec st_mtimespec;` on MacOS, although the code
works on xcode 8.3/9/9.1:

https://travis-ci.org/boostorg/config/builds/318188812

so it's not clear whether the field is renamed there, or there's a macro
st_mtim.

In either case the various xcodes should probably be added to Build's
.travis.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk