Problem building kdepimlibs on win32
Ryan Loebs
obsidianx at gmail.com
Fri Jan 19 22:15:21 CET 2007
I have kdepimlibs build with MSVC.NET 2003. I've never run into this
error before though so I'd assume you're using 2005.
On 1/19/07, Christian Ehrlicher <Ch.Ehrlicher at gmx.de> wrote:
> Von: "Michael Drüing" <michael at drueing.de>
> > Hi,
> >
> > I'm running into problems compiling kdepimlibs (SVN revision 625184) with
> > MSVC8. Here's the relevant output from the compiler:
> >
> > I:\Libs\kde\kdepimlibs\kcal\resourcecached.cpp(680) : error C2664:
> > 'KCal::Calendar::registerObserver' : cannot convert parameter 1 from
> > 'KCal::ResourceCached *const ' to 'KCal::Calendar::Observer *'
> > Types pointed to are unrelated; conversion requires
> > reinterpret_cast, C-style cast or function-style cast
> > I:\Libs\kde\kdepimlibs\kcal\resourcecached.cpp(685) : error C2664:
> > 'KCal::Calendar::unregisterObserver' : cannot convert parameter 1 from
> > 'KCal::ResourceCached*const ' to 'KCal::Calendar::Observer *'
> > Types pointed to are unrelated; conversion requires
> > reinterpret_cast, C-style cast or function-style cast
> > I:\Libs\kde\kdepimlibs-build\kcal\resourcecached.moc(58) : error C2440:
> > 'static_cast' : cannot convert from 'KCal::ResourceCached *' to
> > 'KCal::Calendar::Observer *'
> > Types pointed to are unrelated; conversion requires
> > reinterpret_cast, C-style cast or function-style cast
> >
> > This is strange, because as I see it, Kcal::ResourceCached derives from
> > KCal::Calendar::Observer, so this conversion should be possible. I also have
> > no idea where the "const" comes from, all the headers have the parameter to
> > (un)registerObserver(...) without const modifier.
> >
> kdepimlibs do not compile with msvc yet. Comment out the specified modules in main CMakeLists.txt
>
> Christian
> --
> "Feel free" - 5 GB Mailbox, 50 FreeSMS/Monat ...
> Jetzt GMX ProMail testen: http://www.gmx.net/de/go/promail
> _______________________________________________
> Kde-windows mailing list
> Kde-windows at kde.org
> https://mail.kde.org/mailman/listinfo/kde-windows
>
More information about the Kde-windows
mailing list