Skip to content
This repository was archived by the owner on May 7, 2025. It is now read-only.
This repository was archived by the owner on May 7, 2025. It is now read-only.

"Token is not a valid binary" when building develop branch #2

@vdaubry

Description

@vdaubry

Hi,

Building master branch works great, but when i build from the develop branch i get this compiler errors :

_platform.h:159:36: Token is not a valid binary operator in a preprocessor subexpression

Here is my conf :

Xcode Version 4.6
Mac OS X 10.7.5

Here is the full compile log :

In file included from /Volumes/Save/Documents/Projets/Experimentations/SDKLauncher-iOS-develop/readium-sdk/Platform/Apple/../../ePub3/utilities/../_config.h:73:
/Volumes/Save/Documents/Projets/Experimentations/SDKLauncher-iOS-develop/readium-sdk/Platform/Apple/../../ePub3/utilities/../_platform.h:159:36: error: token is not a valid binary operator in a preprocessor subexpression

if defined(ARMEB) || (COMPILER(RVCT) && defined(__BIG_ENDIAN))

                       ~~~~~~~~^

/Volumes/Save/Documents/Projets/Experimentations/SDKLauncher-iOS-develop/readium-sdk/Platform/Apple/../../ePub3/utilities/../_platform.h:258:34: error: token is not a valid binary operator in a preprocessor subexpression

if !defined(ARMV5_OR_LOWER) && !EPUB_ARM_ARCH_AT_LEAST(6)

                             ^~~~~~~~~~~~~~~~~~~~~~~~~

/Volumes/Save/Documents/Projets/Experimentations/SDKLauncher-iOS-develop/readium-sdk/Platform/Apple/../../ePub3/utilities/../_platform.h:171:39: note: expanded from macro 'EPUB_ARM_ARCH_AT_LEAST'

define EPUB_ARM_ARCH_AT_LEAST(N) (CPU(ARM) && EPUB_ARM_ARCH_VERSION >= N)

2 errors generated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions