ICU54 on solaris 9
Riccardo Mottola
rmottola at opencsw.org
Tue Feb 10 18:46:44 CET 2015
Hi,
since I am stubborn of nature, I tried to compile ICU 54 on solaris 9 to
see if by miracle it would just work.
I get this build error:
make[1]: Leaving directory
`/home/rmottola/opencsw/libicu54/trunk/work/build-isa-sparcv8/icu/source/layout'
gmake[1]: Entering directory
`/home/rmottola/opencsw/libicu54/trunk/work/build-isa-sparcv8/icu/source/layout'
/opt/SUNWspro/bin/CC -DU_HAVE_ELF_H=1 -DU_HAVE_ATOMIC=0 -I. -I./..
-I../common -I./unicode -DU_ATTRIBUTE_DEPRECATED=
-DU_LAYOUT_IMPLEMENTATION -xO3 -m32 -xarch=v8 -mt -c -DPIC -KPIC -o
LEFontInstance.o LEFontInstance.cpp
/opt/SUNWspro/bin/CC -DU_HAVE_ELF_H=1 -DU_HAVE_ATOMIC=0 -I. -I./..
-I../common -I./unicode -DU_ATTRIBUTE_DEPRECATED=
-DU_LAYOUT_IMPLEMENTATION -xO3 -m32 -xarch=v8 -mt -c -DPIC -KPIC -o
OpenTypeLayoutEngine.o OpenTypeLayoutEngine.cpp
"LETableReference.h", line 68: Error: Expected an expression.
"LETableReference.h", line 100: Error: Badly formed expression.
"LETableReference.h", line 104: Error: Operand expected instead of ")".
"LETableReference.h", line 122: Error: Operand expected instead of ";".
"LETableReference.h", line 144: Error:
"icu_54::LETableReference::ptrToOffset(const void*, LEErrorCode&) const"
is expected to return a value.
"LETableReference.h", line 149: Error:
"icu_54::LETableReference::ptrToOffset(const void*, LEErrorCode&) const"
is expected to return a value.
"LETableReference.h", line 151: Warning: There are returns from
icu_54::LETableReference::ptrToOffset(const void*, LEErrorCode&) const
with and without values.
"LETableReference.h", line 158: Error: Badly formed expression.
"LETableReference.h", line 171: Error: Badly formed expression.
"LETableReference.h", line 172: Error: A statement (even if empty) is
required here.
"LETableReference.h", line 383: Error: Expected an expression.
Looking at line 68, I see:
LETableReference(const le_uint8* data, size_t length = LE_UINTPTR_MAX) :
I suppose hat is the ugly problem I already found in gnustep base.
I can patch that, put I'd prefer to apply the pach only for solaris9,
because otherwise the ifdef's are hard to write. Stupid solaris doesn't
have versions.
How can I apply a patch only for solaris <= 9 ?
Riccardo
More information about the maintainers
mailing list