README-SDL.txt
author Sam Lantinga <slouken@libsdl.org>
Tue, 19 Aug 2014 21:17:21 -0700
changeset 9094 65a23b7b43c7
parent 9025 d09d4b578e77
child 9507 b1e690e9c5b3
permissions -rw-r--r--
Fixed bug 2694 - configure bug __has_feature macro not detected

skaller

using gcc 4.2 (the default) on Mac OSX 10.6.8

CC build/SDL_dynapi.lo
In file included from /Users/johnskaller/SDL/src/dynapi/SDL_dynapi.c:31:
include/SDL_syswm.h:211:39: error: missing binary operator before token "("

The fault appears to be here:

#if defined(__OBJC__) && __has_feature(objc_arc)

that the __has_feature macro is not supported by gcc 4.2.

The code works fine with my clang 3.3svn.
     1 
     2 Please distribute this file with the SDL runtime environment:
     3 
     4 The Simple DirectMedia Layer (SDL for short) is a cross-platform library
     5 designed to make it easy to write multi-media software, such as games and
     6 emulators.
     7 
     8 The Simple DirectMedia Layer library source code is available from:
     9 http://www.libsdl.org/
    10 
    11 This library is distributed under the terms of the zlib license:
    12 http://www.zlib.net/zlib_license.html
    13