(reported to me by George N. White III)
In layoutex/ParagraphLayout.cpp, there is an #elif with no expression; I believe this should be #else. gcc 4.4 reports this as an error.
The following patch (based on 3.8.1, but the error is still present in trunk) corrects the problem:
$ diff -C3 Build/source/libs/icu-xetex/layoutex/ParagraphLayout.cpp.orig
Build/source/libs/icu-xetex/layoutex/ParagraphLayout.cpp
*** Build/source/libs/icu-xetex/layoutex/ParagraphLayout.cpp.orig 2008-03-20 09:51:52.000000000 -0300
--- Build/source/libs/icu-xetex/layoutex/ParagraphLayout.cpp 2008-07-13 07:17:52.000000000 -0300
***************
*** 854,860 ****
return nullLanguageCode;
}
! #elif
// TODO - dummy implementation for right now...
le_int32 ParagraphLayout::getLanguageCode(const Locale *locale)
--- 854,860 ----
return nullLanguageCode;
}
! #else
// TODO - dummy implementation for right now...
le_int32 ParagraphLayout::getLanguageCode(const Locale *locale)