[tex-live] small glitch building TeX Live with gcc44
George N. White III
gnwiii at gmail.com
Sun Jul 13 13:12:12 CEST 2008
I have gcc44 (via openPKG) on Fedora 8.
export CC=gcc44
export CXX=c++44
./Build
[...]
make[1]: Making `all' in `layoutex'
make[2]: Entering directory
`/Data/opt/tex/texlive/svn/Build/source/Work/libs/icu-xetex/layoutex'
generating dependency information for
../../../../libs/icu-xetex/layoutex/plruns.cpp
generating dependency information for
../../../../libs/icu-xetex/layoutex/playout.cpp
generating dependency information for
../../../../libs/icu-xetex/layoutex/LXUtilities.cpp
generating dependency information for
../../../../libs/icu-xetex/layoutex/RunArrays.cpp
generating dependency information for
../../../../libs/icu-xetex/layoutex/ParagraphLayout.cpp
../../../../libs/icu-xetex/layoutex/ParagraphLayout.cpp:857:6: error:
#elif with no expression
The following simple change seems to have worked (e.g. Build completes
and xetex
formats simple documents, but I haven't tried any complex layouts):
$ 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)
------------------------------------------
Do older gcc versions really accept #elif where #else is meant, or is this
code triggered by gcc4?
--
George N. White III <aa056 at chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia
More information about the tex-live
mailing list