Unable to compile Firebird with ICU 60 or higer
---
Key: CORE-5817
URL: http://tracker.firebirdsql.org/browse/CORE-5817
Project: Firebird Core
Issue Type: Bug
Components: Build Issues / Porting
Affects Versions: 3.0.3
Environment: Linux (Gentoo)
Reporter: vincent
(with icu 58 everything works as expected)
When I compile with icu 60 or higher, I get :
In file included from /usr/include/unicode/utypes.h:38:0,
from /usr/include/unicode/ucnv_err.h:88,
from /usr/include/unicode/ucnv.h:52,
from
/var/tmp/portage/dev-db/firebird-3.0.3.32900.0/work/Firebird-3.0.3.32900-0/src/common/../jrd/../common/unicode_util.h:34,
from
/var/tmp/portage/dev-db/firebird-3.0.3.32900.0/work/Firebird-3.0.3.32900-0/src/common/../jrd/intl_classes.h:35,
from
/var/tmp/portage/dev-db/firebird-3.0.3.32900.0/work/Firebird-3.0.3.32900-0/src/common/TextType.cpp:96:
/usr/include/unicode/umachine.h:347:13: error: 'char16_t' does not name a type;
did you mean 'charset'?
typedef char16_t UChar;
^~~~
charset
In file included from /usr/include/unicode/utypes.h:39:0,
from /usr/include/unicode/ucnv_err.h:88,
from /usr/include/unicode/ucnv.h:52,
from
/var/tmp/portage/dev-db/firebird-3.0.3.32900.0/work/Firebird-3.0.3.32900-0/src/common/../jrd/../common/unicode_util.h:34,
from
/var/tmp/portage/dev-db/firebird-3.0.3.32900.0/work/Firebird-3.0.3.32900-0/src/common/../jrd/intl_classes.h:35,
from
/var/tmp/portage/dev-db/firebird-3.0.3.32900.0/work/Firebird-3.0.3.32900-0/src/common/TextType.cpp:96:
/usr/include/unicode/uversion.h:167:55: error: 'UChar' does not name a type;
did you mean 'UChar32'?
u_versionFromUString(UVersionInfo versionArray, const UChar *versionString);
^
UChar32
In file included from /usr/include/unicode/ucnv.h:52:0,
from
/var/tmp/portage/dev-db/firebird-3.0.3.32900.0/work/Firebird-3.0.3.32900-0/src/common/../jrd/../common/unicode_util.h:34,
from
/var/tmp/portage/dev-db/firebird-3.0.3.32900.0/work/Firebird-3.0.3.32900-0/src/common/../jrd/intl_classes.h:35,
from
/var/tmp/portage/dev-db/firebird-3.0.3.32900.0/work/Firebird-3.0.3.32900-0/src/common/TextType.cpp:96:
/usr/include/unicode/ucnv_err.h:198:11: error: 'UChar' does not name a type;
did you mean 'UChar32'?
const UChar *source;/**< Pointer to the source source buffer.
@stable ICU 2.0*/
^
UChar32
/usr/include/unicode/ucnv_err.h:199:11: error: 'UChar' does not name a type;
did you mean 'UChar32'?
const UChar *sourceLimit; /**< Pointer to the limit (end + 1) of source
buffer. @stable ICU 2.0*/
^
UChar32
/usr/include/unicode/ucnv_err.h:216:5: error: 'UChar' does not name a type; did
you mean 'UChar32'?
UChar *target; /**< Pointer to the target buffer. @stable ICU
2.0*/
^
UChar32
/usr/include/unicode/ucnv_err.h:217:11: error: 'UChar' does not name a type;
did you mean 'UChar32'?
const UChar *targetLimit; /**< Pointer to the limit (end + 1) of target
buffer. @stable ICU 2.0 */
^
UChar32
/usr/include/unicode/ucnv_err.h:239:25: error: 'UChar' does not name a type;
did you mean 'UChar32'?
const UChar* codeUnits,
^
UChar32
/usr/include/unicode/ucnv_err.h:290:25: error: 'UChar' does not name a type;
did you mean 'UChar32'?
const UChar* codeUnits,
^
UChar32
/usr/include/unicode/ucnv_err.h:320:25: error: 'UChar' does not name a type;
did you mean 'UChar32'?
const UChar* codeUnits,
^
UChar32
/usr/include/unicode/ucnv_err.h:376:25: error: 'UChar' does not name a type;
did you mean 'UChar32'?
const UChar* codeUnits,
^
UChar32
In file included from /usr/include/unicode/uenum.h:23:0,
from /usr/include/unicode/ucnv.h:53,
from
/var/tmp/portage/dev-db/firebird-3.0.3.32900.0/work/Firebird-3.0.3.32900-0/src/common/../jrd/../common/unicode_util.h:34,
from
/var/tmp/portage/dev-db/firebird-3.0.3.32900.0/work/Firebird-3.0.3.32900-0/src/common/../jrd/intl_classes.h:35,
from
/var/tmp/portage/dev-db/firebird-3.0.3.32900.0/work/Firebird-3.0.3.32900-0/src/common/TextType.cpp:96:
/usr/include/unicode/localpointer.h:221:34: error: expected ',' or '...' before
'&&' token
LocalPointe