Package: icu
Version: 3.8.1-3
User: [EMAIL PROTECTED]
Usertags: ftbfs-gcc-4.4
Tags: patch
Your package fails to build with the upcoming GCC 4.4. Version 4.4
has not been released yet but I'm building with a snapshot in order
to find errors and give people an advance warning.
GCC 4.4 will introduce better checks in the preprocessor. The problem
is pretty obvious: you're using a #elif without any condition when
you really want a #else.
You can reproduce this problem with gcc-snapshot from unstable.
> Automatic build of icu_3.8.1-3 on em64t by sbuild/amd64 0.53
...
> generating dependency information for RunArrays.cpp
> generating dependency information for ParagraphLayout.cpp
> ParagraphLayout.cpp:816:6: error: #elif with no expression
> make[2]: Leaving directory
> `/build/tbm/icu-3.8.1/build-tree/icu/source/layoutex'
> make[2]: Entering directory
> `/build/tbm/icu-3.8.1/build-tree/icu/source/layoutex'
> generating dependency information for ParagraphLayout.cpp
> ParagraphLayout.cpp:816:6: error: #elif with no expression
> g++ -D_REENTRANT -I. -I./unicode -I./.. -I../common
> -DU_LAYOUTEX_IMPLEMENTATION -g -Wall -O2 -fvisibility=hidden -c -o
> ParagraphLayout.ao ParagraphLayout.cpp
> ParagraphLayout.cpp:816:6: error: #elif with no expression
> make[2]: *** [ParagraphLayout.ao] Error 1
> make[2]: Leaving directory
> `/build/tbm/icu-3.8.1/build-tree/icu/source/layoutex'
--- icu/source/layoutex/ParagraphLayout.cpp~ 2008-11-11 21:42:10.000000000
+0000
+++ icu/source/layoutex/ParagraphLayout.cpp 2008-11-11 21:42:15.000000000
+0000
@@ -813,7 +813,7 @@
return nullLanguageCode;
}
-#elif
+#else
// TODO - dummy implementation for right now...
le_int32 ParagraphLayout::getLanguageCode(const Locale *locale)
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]