[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: [Kde-pim] error compiling kdepim4
From:       Stephan Johach <lucardus () onlinehome ! de>
Date:       2006-11-26 16:10:28
Message-ID: 200611261710.28111.lucardus () onlinehome ! de
[Download RAW message or body]

Hi all!

I now have a compile error in kdepim (trunk) with gcc 3.3.3.

[ 36%] Building CXX object indexlib/CMakeFiles/index.dir/compressed.o
/home/lucardus/kdepim/indexlib/mempool.tcc: In member function `typename
   Traits::pointer mempool<Traits>::allocate(unsigned int) [with Traits =
   compressed_page_traits]':
/home/lucardus/kdepim/indexlib/compressed.cpp:119:   instantiated from here
/home/lucardus/kdepim/indexlib/mempool.tcc:50: error: call of overloaded 
`qMax(
   unsigned int, memory_reference<uint32_t>&)' is ambiguous
/home/lucardus/kdepim/indexlib/compat.h:56: error: candidates are: T 
qMax(const
   T&, const T&) [with T = uint32_t]
/home/lucardus/qt-copy/src/corelib/global/qglobal.h:817: error:
   const T& qMax(const T&, const T&) [with T = uint32_t]
/home/lucardus/kdepim/indexlib/mempool.tcc:51: error: call of overloaded 
`qMax(
   unsigned int, mempool<compressed_page_traits>::<anonymous enum>)' is
   ambiguous
/home/lucardus/kdepim/indexlib/compat.h:56: error: candidates are: T 
qMax(const
   T&, const T&) [with T = uint32_t]
/home/lucardus/qt-copy/src/corelib/global/qglobal.h:817: error:
   const T& qMax(const T&, const T&) [with T = uint32_t]
/home/lucardus/kdepim/indexlib/mempool.tcc: In member function `typename
   Traits::pointer mempool<Traits>::reallocate(typename Traits::pointer,
   unsigned int) [with Traits = compressed_page_traits]':
/home/lucardus/kdepim/indexlib/compressed.cpp:165:   instantiated from here
/home/lucardus/kdepim/indexlib/mempool.tcc:226: error: call of overloaded 
`qMax
   (memory_reference<uint32_t>&, unsigned int)' is ambiguous
/home/lucardus/kdepim/indexlib/compat.h:56: error: candidates are: T 
qMax(const
   T&, const T&) [with T = uint32_t]
/home/lucardus/qt-copy/src/corelib/global/qglobal.h:817: error:
   const T& qMax(const T&, const T&) [with T = uint32_t]
/home/lucardus/kdepim/indexlib/mempool.tcc: In member function `void
   mempool<Traits>::fill_into_list(unsigned int, unsigned int) [with Traits =
   compressed_page_traits]':
/home/lucardus/kdepim/indexlib/mempool.tcc:72:   instantiated from `typename 
Traits::pointer mempool<Traits>::allocate(unsigned int) [with Traits = 
compressed_page_traits]'
/home/lucardus/kdepim/indexlib/compressed.cpp:119:   instantiated from here
/home/lucardus/kdepim/indexlib/mempool.tcc:83: error: call of overloaded 
`qMax(
   mempool<compressed_page_traits>::<anonymous enum>, unsigned int)' is
   ambiguous
/home/lucardus/kdepim/indexlib/compat.h:56: error: candidates are: T 
qMax(const
   T&, const T&) [with T = uint32_t]
/home/lucardus/qt-copy/src/corelib/global/qglobal.h:817: error:
   const T& qMax(const T&, const T&) [with T = uint32_t]
make[2]: *** [indexlib/CMakeFiles/index.dir/compressed.o] Error 1
make[1]: *** [indexlib/CMakeFiles/index.dir/all] Error 2
make: *** [all] Error 2
lucardus@leviathan:~/kdepim/build$ gcc --version
gcc (GCC) 3.3.3
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic