react-native-community / jsc-android-buildscripts

Script for building JavaScriptCore for Android (for React Native but not only)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build failed: undeclared identifier 'u_charDirection'

ByTE1974 opened this issue · comments

commented

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

Have you solved the problem @ByTE1974