android-project/default.properties
author Sam Lantinga <slouken@libsdl.org>
Tue, 19 Aug 2014 21:17:21 -0700
changeset 9094 65a23b7b43c7
parent 7907 24b4e98c6010
child 11432 04dd43a2c83a
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.
slouken@4965
     1
# This file is automatically generated by Android Tools.
slouken@4965
     2
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
slouken@4965
     3
# 
slouken@4965
     4
# This file must be checked in Version Control Systems.
slouken@4965
     5
# 
slouken@4965
     6
# To customize properties used by the Ant build system use,
slouken@4965
     7
# "build.properties", and override values to adapt the script to your
slouken@4965
     8
# project structure.
slouken@4965
     9
slouken@4965
    10
# Project target.
gabomdq@7907
    11
target=android-12