Problems compiling kdepimlibs/syndication with msvc
Paulo Jorge Guedes
Paulo.Guedes at artelecom.pt
Fri Oct 27 14:58:27 BST 2006
Hi,
> -----Original Message-----
> From: Christian Ehrlicher [mailto:Ch.Ehrlicher at gmx.de]
> Sent: sexta-feira, 27 de Outubro de 2006 14:45
> To: kde-core-devel at kde.org
> Cc: raabe at kde.org; KDE on Windows
> Subject: Problems compiling kdepimlibs/syndication with msvc
>
> Hello,
>
> I've once more a problem compiling kde4 with msvc :-(
>
> This time it's kdepimlibs/syndication/sharedptr.h:195 when msvc needs
to
> compile such functions:
>
> QList<Syndication::ItemPtr> FeedRSS2Impl::items() const
>
> ItemPtr is a typedef of SharedPtr<Item> and Item is an abstract class.
> because of this, msvc complains that it cannot instantiate this class
in
> sharedptr.h:195:
>
> return SharedPtr<T>( new T( *d->obj ) );
>
> Why does it work with mingw?
Perhaps this is a msvc problem. It doesn't happen if you export the base
Feed class with dllimport...
Paulo
More information about the kde-core-devel
mailing list