[MacPorts] #62806: qt5-qtdeclarative fails to build with type redefinition error on UChar
MacPorts
noreply at macports.org
Mon May 3 18:43:03 UTC 2021
#62806: qt5-qtdeclarative fails to build with type redefinition error on UChar
------------------------+---------------------------------
Reporter: ghosthound | Owner: MarcusCalhoun-Lopez
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: qt5-qtdeclarative
------------------------+---------------------------------
qt5-qtdeclarative fails to build with type redefinition error on UChar,
this is happening for me on both macOS 10.15.7 / Xcode 12.4 and macOS 11.3
/ Xcode 12.5.
Initial definition is in a header from the icu port, which is in the
dependency chain of qt5-qtdeclarative.
Error:
----- begin error snippet -----
In file included from ../3rdparty/masm/yarr/YarrInterpreter.cpp:33:
In file included from ../3rdparty/masm/yarr/YarrCanonicalize.h:29:
In file included from /opt/DP/include/unicode/utypes.h:38:
/opt/DP/include/unicode/umachine.h:376:22: error: typedef redefinition
with different types ('char16_t' vs 'unsigned short')
typedef char16_t UChar;
^
../3rdparty/masm/stubs/wtf/unicode/Unicode.h:45:24: note: previous
definition is here
typedef unsigned short UChar;
------ end error snippet ------
--
Ticket URL: <https://trac.macports.org/ticket/62806>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list