Am Montag, 27. November 2006 17:16 schrieb Thiago Macieira: > Ok, put uint32_t( ) around both arguments. This must shut up gcc. This way? max_order_ = qMax( uint32_t ( order_of( size ) ), uint32_t ( max_order_ ) ); No way. :( [ 36%] Building CXX object indexlib/CMakeFiles/index.dir/compressed.o /home/lucardus/kdepim/indexlib/mempool.tcc: In member function `typename Traits::pointer mempool::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, 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::)' 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::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&, 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::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::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::, 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$ >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<