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
4.4.
Please be so kind to have a look at it.
Regards,
Hilmar
--
sigmentation fault
Resent-From: Martin Michlmayr <tbm@cyrius.com>
From: Martin Michlmayr <tbm@cyrius.com>
Date: 14 November 2008 13:15:14 GMT
Resent-To: debian-bugs-dist@lists.debian.org
To: submit@bugs.debian.org
Resent-Cc: Debian TeX Maintainers <debian-tex-maint@lists.debian.org>
Subject: Bug#505693: FTBFS with GCC 4.4: missing #include; wrong #elif
Reply-To: Martin Michlmayr <tbm@cyrius.com>, 505693@bugs.debian.org
Package: texlive-bin
Version: 2007.dfsg.2-4
User: debian-gcc@lists.debian.org
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.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;
}
-#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 debian-tex-maint-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org