[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#420892: marked as done (FTBFS with GCC 4.3: missing #includes)



Your message dated Thu, 17 May 2007 13:23:09 +0200
with message-id <464C3B1D.40209@der-winnie.de>
and subject line fixed according to upstream in 1.0.2
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: italc
Version: 0.9.6.2-3
Usertags: ftbfs-gcc-4.3
Tags: patch

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  In GCC 4.3, the C++ header
dependencies have been cleaned up.  The advantage of this is that
programs will compile faster.  The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC).  Some background of this can be found at
http://gcc.gnu.org/PR28080

You can reproduce this problem with gcc-snapshot (20070326-1 or higher)
from unstable. (Currently not available for i386, but for amd64, powerpc
and ia64.  I hope to have i386 binaries in the archive in the near
future.)

> Automatic build of italc_0.9.6.2-3 on em64t by sbuild/amd64 0.53
...
> make[3]: Entering directory `/build/tbm/italc-0.9.6.2/buildtools'
> g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/X11R6/include  -g -Wall -O2 -O2 -g0 -c -o bin2res.o `test -f './bin2res.cpp' || echo './'`./bin2res.cpp
> ./bin2res.cpp:35: error: 'uint' does not name a type
> ./bin2res.cpp: In function 'int main(int, char**)':
> ./bin2res.cpp:83: error: 'struct embed' has no member named 'size'
> ./bin2res.cpp:105: error: 'struct embed' has no member named 'size'
> ./bin2res.cpp:120: error: 'struct embed' has no member named 'size'
> make[3]: *** [bin2res.o] Error 1
> make[3]: Leaving directory `/build/tbm/italc-0.9.6.2/buildtools'

--- buildtools/bin2res.cpp~	2007-04-25 08:28:44.000000000 +0000
+++ buildtools/bin2res.cpp	2007-04-25 08:28:52.000000000 +0000
@@ -21,6 +21,7 @@
  */
 
 
+#include <cstdlib>
 #include <string>
 #include <vector>
 #include <iostream>

-- 
Martin Michlmayr
http://www.cyrius.com/


--- End Message ---
--- Begin Message ---
This FTBFS is fixed according to upstream in the 1.0.2 release.
Since forgot to add this to the changelog I close this bug manually.



greetings
Patrick

-- 
 .''`.   Patrick Winnertz <patrick.winnertz@skolelinux.org>
: :'  :  GNU/Linux Debian-Edu Developer
`. `'`   http://www.der-winnie.de http://d.skolelinux.org/~winnie
  `-  Debian - when you have better things to do than fixing systems


--- End Message ---

Reply to: