simon-git: puzzles (master): Simon Tatham

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Fri Sep 18 12:27:29 BST 2015


TL;DR:
  ba9e0d5 Fix OS X build failure due to a deprecated method.

Repository:     git://git.tartarus.org/simon/puzzles.git
On the web:     http://tartarus.org/~simon-git/gitweb/?p=puzzles.git
Branch updated: master
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2015-09-18 12:27:29

commit ba9e0d586ec8d2662d7ff6065797c6ef327623a7
web diff http://tartarus.org/~simon-git/gitweb/?p=puzzles.git;a=commitdiff;h=ba9e0d586ec8d2662d7ff6065797c6ef327623a7;hp=eda5a867872e718b62ea52373ec9f44aa0c3bda2
Author: Simon Tatham <anakin at pobox.com>
Date:   Fri Sep 18 12:20:32 2015 +0100

    Fix OS X build failure due to a deprecated method.
    
    Apple upgraded me to Xcode 7 yesterday, and now [NSString cString]
    gives a deprecation warning, which -Werror turns into a full-on build
    failure. Explicitly specify an encoding.
    
    (I mention in a comment that there's an alternative piece of API that
    I possibly ought to be using instead, but until I make a concrete
    decision about where my backwards compatibility threshold is, I'll
    leave it as it is for the moment.)

 osx.m |   19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)



More information about the tartarus-commits mailing list