Package: italc
Version: 1:1.0.9~rc3-1
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 cleaned up some more C++ headers.  You always have to #include
headers directly and cannot rely for things to be included indirectly.
It's not obvious from the log but you need stdint.h for
int32_t/uint32_t.

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

> Automatic build of italc_1:1.0.9~rc3-1 on em64t by sbuild/amd64 0.53
...
> /usr/bin/rcc italc_core.qrc -name italc_core > italc_core_qrc.cpp
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./include -I..  -g -O2 -g -Wall -O2 -fPIC 
> -I/usr/include -I/usr/include  -I/usr/include/qt4 -I/usr/include/qt4/Qt 
> -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_XML_LIB -DQT_THREAD_SUPPORT -O2 
> -DBUILD_ICA -DBUILD_LIBRARY  -g -O2 -g -Wall -O2 -fPIC -I/usr/include -g -O2 
> -Wall -fPIC -fno-strict-aliasing -c -o dsa_key.o `test -f './src/dsa_key.cpp' 
> || echo './'`./src/dsa_key.cpp
> In file included from ./include/dsa_key.h:49,
>                  from ./src/dsa_key.cpp:46:
> ./include/types.h:33: error: 'uint32_t' does not name a type
> In file included from ./include/isd_base.h:37,
>                  from ./include/local_system.h:31,
>                  from ./src/dsa_key.cpp:47:
> ./include/italc_rfb_ext.h:55: error: 'Q_UINT32' does not name a type
> ./include/italc_rfb_ext.h:56: error: 'Q_UINT32' does not name a type
> make[3]: *** [dsa_key.o] Error 1
> make[3]: Leaving directory `/build/tbm/italc-1.0.9~rc3/lib'

--- lib/include/types.h~        2008-11-08 08:09:35.000000000 +0000
+++ lib/include/types.h 2008-11-08 08:09:43.000000000 +0000
@@ -25,6 +25,8 @@
 #ifndef _TYPES_H
 #define _TYPES_H
 
+#include <stdint.h>
+
 typedef signed char             Q_INT8;         /* 8 bit signed */
 typedef unsigned char           Q_UINT8;        /* 8 bit unsigned */
 typedef short                   Q_INT16;        /* 16 bit signed */

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



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

Reply via email to