OpenTTD

Tasklist

FS#6502 - fix build on MacOS X 10.11

Attached to Project: OpenTTD
Opened by Yaroslav Kolomiiets (yk) - Monday, 29 August 2016, 17:31 GMT
Last edited by Michael Lutz (michi_cc) - Monday, 31 October 2016, 19:29 GMT
Type Bug
Category Build system
Status Closed
Assigned To No-one
Operating System Mac OS X
Severity High
Priority Normal
Reported Version 1.6.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

macosx 10.11 SDK has removed some API functions which were declared deprecated since 10.6.
This task depends upon

Closed by  Michael Lutz (michi_cc)
Monday, 31 October 2016, 19:29 GMT
Reason for closing:  Fixed
Additional comments about closing:  In r27675 hopefully.
Comment by Yaroslav Kolomiiets (yk) - Monday, 29 August 2016, 17:34 GMT
proposed patch which fixes the build
Comment by federico (shatteringlass) - Sunday, 23 October 2016, 17:34 GMT
On 10.12 I also needed to cast a function argument. Line 158 has to be changed to this:

if (MusicSequenceFileLoad(_sequence, url, (MusicSequenceFileTypeID)0, 0) != noErr) {

Loading...