Bug#505693: (fwd) Bug#505693: FTBFS with GCC 4.4: missing #include; wrong #elif

2008-11-17 Thread Hilmar Preusse
forwarded 505693 Jonathan Kew [EMAIL PROTECTED]
stop

On 17.11.08 Jonathan Kew ([EMAIL PROTECTED]) wrote:

Dear Jonathan,

 Thanks for the report; this is now fixed in the svn sources.
 
Fine, thank you.

 (I believe problem 2 from the report is already fixed in texlive
 svn.)
 
Part 2 was not for you and is fixed in TL 2008.

Regards,
  Hilmar
-- 
sigmentation fault



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#505693: FTBFS with GCC 4.4: missing #include; wrong #elif

2008-11-15 Thread Hilmar Preuße
On 14.11.08 Martin Michlmayr ([EMAIL PROTECTED]) wrote:

Hi,

Thanks for the report.

 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.
 
 Problem 1) GCC 4.4 cleaned up some more C++ headers.  You always have
 to #include headers directly and cannot rely for things to be included
 indirectly.
 
Not fixed in TL2008, but patch is simple, I'll forward to upstream.

 Problem 2) You're using #elif where you meant #else.
 
Fixed in TL 2008.

H. 
-- 
sigmentation fault



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#505693: FTBFS with GCC 4.4: missing #include; wrong #elif

2008-11-14 Thread Martin Michlmayr
Package: texlive-bin
Version: 2007.dfsg.2-4
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.

Problem 1) GCC 4.4 cleaned up some more C++ headers.  You always have
to #include headers directly and cannot rely for things to be included
indirectly.

Problem 2) You're using #elif where you meant #else.

You can reproduce this problem with gcc-snapshot from unstable.


 Automatic build of texlive-bin_2007.dfsg.2-4 on em64t by sbuild/amd64 0.53
...
 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:748:6: error: #elif 
 with no expression
 make[3]: Leaving directory 
 `/build/tbm/texlive-bin-2007.dfsg.2/build/source/Work/libs/icu-xetex/layoutex'
 make[3]: Entering directory 
 `/build/tbm/texlive-bin-2007.dfsg.2/build/source/Work/libs/icu-xetex/layoutex'
 generating dependency information for 
 ../../../../libs/icu-xetex/layoutex/ParagraphLayout.cpp
 ../../../../libs/icu-xetex/layoutex/ParagraphLayout.cpp:748:6: error: #elif 
 with no expression
 g++ -D_REENTRANT -I../../../../libs/icu-xetex/layoutex 
 -I../../../../libs/icu-xetex/layoutex/unicode 
 -I../../../../libs/icu-xetex/layoutex/.. -I../common 
 -I../../../../libs/icu-xetex/common -D_REENTRANT  -DU_LAYOUTEX_IMPLEMENTATION 
 -g -O2  -c   -o ParagraphLayout.ao 
 ../../../../libs/icu-xetex/layoutex/ParagraphLayout.cpp
 ../../../../libs/icu-xetex/layoutex/ParagraphLayout.cpp:748:6: error: #elif 
 with no expression
 make[3]: *** [ParagraphLayout.ao] Error 1
 make[3]: Leaving directory 
 `/build/tbm/texlive-bin-2007.dfsg.2/build/source/Work/libs/icu-xetex/layoutex'
 make[2]: *** [all-recursive] Error 2

--- source/libs/teckit/source/Compiler.cpp~ 2008-11-14 12:52:09.0 
+
+++ source/libs/teckit/source/Compiler.cpp  2008-11-14 12:52:16.0 
+
@@ -29,6 +29,7 @@
 
 #include Compiler.h
 
+#include cstdio
 #include iostream
 #include iomanip
 #include algorithm
--- source/libs/icu-xetex/layoutex/ParagraphLayout.cpp~ 2008-11-14 
12:49:18.0 +
+++ source/libs/icu-xetex/layoutex/ParagraphLayout.cpp  2008-11-14 
12:49:24.0 +
@@ -745,7 +745,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]