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

List:       kde-pim
Subject:    Re: [Kde-pim] filter_oe compile failure with older gcc
From:       thorsten () staerk ! de
Date:       2005-06-21 14:50:55
Message-ID: 40784.194.39.131.40.1119365455.squirrel () mail ! staerk ! de
[Download RAW message or body]

> On Tuesday 21 June 2005 14:56, thorsten@staerk.de wrote:
>> feedstoragedummyimpl.cpp: In member function `virtual QStringList
>>    Akregator::Backend::FeedStorageDummyImpl::articles(const QString&)':
>> feedstoragedummyimpl.cpp:124: operands to ?: have different types
>> make[4]: *** [feedstoragedummyimpl.lo] Error 1
>
> That's
>
>     return tag.isNull() ? d->entries.keys() : QStringList(); // TODO:
> respect
>
> now d->entries is a QMap<QString,Entry>, so my reading of keys() says that
> that is a QValueList<QString> --- which is exactly what QStringList is. I
> suspect the compiler is being deliberately obtuse. Try replacing the ? :
> ternary operator with a plain old if {} else {}.

now, kdepim compiles through with that old C compiler. But I am not sure I
included all the extras like libmal etc., so maybe I did not test some
synching functionality.

Thorsten

_______________________________________________
kde-pim mailing list
kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

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