[email protected]
[Top] [All Lists]

Bug#505693: marked as forwarded (FTBFS with GCC 4.4: missing #include;

Subject: Bug#505693: marked as forwarded FTBFS with GCC 4.4: missing #include; wrong #elif
From: Debian Bug Tracking System
Date: Mon, 17 Nov 2008 11:48:09 +0000
Your message dated Mon, 17 Nov 2008 11:45:47 +0000
with message-id <[email protected]>
has caused the   report #505693,
regarding FTBFS with GCC 4.4: missing #include; wrong #elif
to be marked as having been forwarded to the upstream software
author(s) Hilmar Preusse <[email protected]>

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]

505693: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505693
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Subject: Re: (fwd) Bug#505693: FTBFS with GCC 4.4: missing #include; wrong #elif
From: Jonathan Kew
Date: Mon, 17 Nov 2008 11:45:47 +0000
Dear Hilmar,

Thanks for the report; this is now fixed in the svn sources.

(I believe problem 2 from the report is already fixed in texlive svn.)



On 17 Nov 2008, at 09:19, Hilmar Preusse wrote:

Dear Jonathan,

down here in the Debian bug tracking system we got the information
that one of the C++-Files from TECkit does not include cstdio
explicitely although it should (this is problem 1 from the report).
According to the submitter, the program fails to compile using gcc

Please be so kind to have a look at it.

-- sigmentation fault
Resent-From: Martin Michlmayr <[email protected]>
From: Martin Michlmayr <[email protected]>
Date: 14 November 2008 13:15:14 GMT
Resent-To: [email protected]
To: [email protected]
Resent-Cc: Debian TeX Maintainers <[email protected]>
Subject: Bug#505693: FTBFS with GCC 4.4: missing #include; wrong #elif
Reply-To: Martin Michlmayr <[email protected]>, [email protected]

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

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.000000000 +0000
+++ source/libs/teckit/source/Compiler.cpp	2008-11-14
12:52:16.000000000 +0000
@@ -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.000000000 +0000 +++ source/libs/icu-xetex/layoutex/ParagraphLayout.cpp 2008-11-14 12:49:24.000000000 +0000
@@ -745,7 +745,7 @@

    return nullLanguageCode;

// TODO - dummy implementation for right now...
le_int32 ParagraphLayout::getLanguageCode(const Locale *locale)

Martin Michlmayr

To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

--- End Message ---
<Prev in Thread] Current Thread [Next in Thread>