react-native-community / jsc-android-buildscripts

Script for building JavaScriptCore for Android (for React Native but not only)
BSD 2-Clause "Simplified" License
1.06k stars 97 forks source link

Build failed: undeclared identifier 'u_charDirection' #158

Open ByTE1974 opened 3 years ago

ByTE1974 commented 3 years ago

Issue Description

Build failed with error (several of them, but all are the same):

...

In file included from ../../Source/WTF/wtf/AutomaticThread.cpp:30:
In file included from ../../Source/WTF/wtf/Threading.h:49:
In file included from ../../Source/WTF/wtf/text/AtomStringTable.h:26:
../../Source/WTF/wtf/text/StringImpl.h:750:60: error: use of undeclared identifier 'u_charDirection'; did you mean 'UCharDirection'?
    return isLatin1(character) ? isASCIISpace(character) : u_charDirection(character) == U_WHITE_SPACE_NEUTRAL;

...

In file included from ../../Source/WTF/wtf/CompilationThread.cpp:27:
In file included from ../../Source/WTF/wtf/CompilationThread.h:28:
In file included from ../../Source/WTF/wtf/Threading.h:49:
In file included from ../../Source/WTF/wtf/text/AtomStringTable.h:26:
../../Source/WTF/wtf/text/StringImpl.h:750:60: error: use of undeclared identifier 'u_charDirection'; did you mean 'UCharDirection'?
    return isLatin1(character) ? isASCIISpace(character) : u_charDirection(character) == U_WHITE_SPACE_NEUTRAL;

...

Version, config, any additional info

Building with default config on MacOS Big Sur v11.6

breakerrorchen commented 2 years ago

Have you solved the problem @ByTE1974