Skip to content

errors when compiling for Android with ant #2

@adamski

Description

@adamski

when I include this module and try and compile for android with e.g. ant release I get lots of errors such as the following:

     [exec] /Users/adamelemental/dev/SDKs/android-ndk/platforms/android-9/arch-arm/usr/include/sys/endian.h:56:24: error: expected unqualified-id before '__extension__'
     [exec]  #define __swap16gen(x) __statement({     \
     [exec]                         ^
     [exec] /Users/adamelemental/dev/SDKs/android-ndk/platforms/android-9/arch-arm/usr/include/sys/endian.h:141:18: note: in expansion of macro '__swap16gen'
     [exec]  #define __swap16 __swap16gen
     [exec]                   ^
     [exec] /Users/adamelemental/dev/SDKs/android-ndk/platforms/android-9/arch-arm/usr/include/sys/endian.h:158:16: note: in expansion of macro '__swap16'
     [exec]  #define swap16 __swap16
     [exec]                 ^
     [exec] ../../JuceLibraryCode/modules/stk/../../../../../juce_modules/drowaudio/stk_module/stk/stk.h:181:15: note: in expansion of macro 'swap16'
     [exec]    static void swap16( unsigned char *ptr );
     [exec]                ^

Do you have any suggestions why this might happen with ant but not with Xcode?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions