android-project/ant.properties
author Sam Lantinga <slouken@libsdl.org>
Tue, 19 Aug 2014 21:17:21 -0700
changeset 9094 65a23b7b43c7
parent 6631 47ab7ba21530
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@6631
     1
# This file is used to override default values used by the Ant build system.
slouken@6631
     2
#
slouken@6631
     3
# This file must be checked into Version Control Systems, as it is
slouken@6631
     4
# integral to the build system of your project.
slouken@6631
     5
slouken@6631
     6
# This file is only used by the Ant script.
slouken@6631
     7
slouken@6631
     8
# You can use this to override default values such as
slouken@6631
     9
#  'source.dir' for the location of your java source folder and
slouken@6631
    10
#  'out.dir' for the location of your output folder.
slouken@6631
    11
slouken@6631
    12
# You can also use it define how the release builds are signed by declaring
slouken@6631
    13
# the following properties:
slouken@6631
    14
#  'key.store' for the location of your keystore and
slouken@6631
    15
#  'key.alias' for the name of the key to use.
slouken@6631
    16
# The password will be asked during the build when you use the 'release' target.
slouken@6631
    17