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

List:       kde-devel
Subject:    Re: [Kde-pim] error compiling kdepim4
From:       Thiago Macieira <thiago () kde ! org>
Date:       2006-11-27 16:16:25
Message-ID: 200611271716.25479.thiago () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Stephan Johach wrote:
>> Heh, this is funny.
>>
>> gcc thinks it's ambiguous between one choice only. By definition
>> of "ambiguousness", there has to be at least two options :-)
>>
>> Does it help if you change the line mempool.tcc:50 from:
>>       max_order_ = qMax<uint32_t>( order_of( size ), max_order_ );
>> to
>>       max_order_ = qMax( order_of( size ), uint32_t( max_order_ ) );
>> ?
>
>No, that does not help. Looks very similar.

Ok, put uint32_t( ) around both arguments. This must shut up gcc.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

[Attachment #5 (application/pgp-signature)]

>> 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