Package: dc-qt
Version: 0.2.0.alpha-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.

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.

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

> Automatic build of dc-qt_0.2.0.alpha-4 on em64t by sbuild/amd64 0.53
...
> In file included from user.h:5,
>                  from userlistmodel.h:18,
>                  from session.cpp:13:
> blockallocator.h: In member function 'T* BlockAllocator<T, blocksPerBatch, 
> blockAlignment>::BlockStore::AllocateBlock()':
> blockallocator.h:66: error: 'uintptr_t' was not declared in this scope
> blockallocator.h:72: error: expected primary-expression before ')' token
> blockallocator.h:74: error: expected primary-expression before ')' token
> blockallocator.h:74: error: expected ';' before numeric constant
> blockallocator.h: In member function 'void BlockAllocator<T, blocksPerBatch, 
> blockAlignment>::BlockStore::ReleaseBlock(T*)':
> blockallocator.h:86: error: 'uintptr_t' was not declared in this scope
> blockallocator.h:86: error: expected primary-expression before ')' token
> blockallocator.h:86: error: expected ')' before 'pBlock'
> make[1]: *** [session.o] Error 1

-- 
Martin Michlmayr
http://www.cyrius.com/
--- ui/blockallocator.h~	2008-11-08 07:00:41.000000000 +0000
+++ ui/blockallocator.h	2008-11-08 07:01:26.000000000 +0000
@@ -1,6 +1,7 @@
 #ifndef __blockallocator_h__

 #define __blockallocator_h__

 

+#include <stdint.h>

 #include <vector>

 #include <iostream>

 

Reply via email to