Version: (using KDE Devel) Installed from: Compiled sources Compiler: gcc 4.2.2 OS: Linux here is the log when compiling kdesdk /var/tmp/portage/kde-base/kdesdk-9999.4/work/kdesdk-9999.4/kompare/kompare_shell.cpp: In constructor ‘KompareShell::KompareShell()’: /var/tmp/portage/kde-base/kdesdk-9999.4/work/kdesdk-9999.4/kompare/kompare_shell.cpp:58: attention : ‘__base_ctor ’ is deprecated (declared at /usr/kde/svn/include/kparts/mainwindow.h:55) /var/tmp/portage/kde-base/kdesdk-9999.4/work/kdesdk-9999.4/kompare/kompare_shell.cpp:77: erreur: conversion from ‘const KService’ to non-scalar type ‘KSharedPtr<KService>’ requested i'm compiling in release mode maybe it could made a difference we'll be happy to provide more information if needed.... side note : quite difficult to extract the error, there's so many warnings !!! :))))
Ugh, this is a multiple-layer screwup: * this code is under #ifdef NDEBUG, it's supposed to be #ifndef NDEBUG, as this is debugging code, * nothing actually defined NDEBUG until very recently, so this code path was never hit in KDE 4.
NDEBUG is automatically added to compile flags in release mode by CMake AFAIK
It is now, it didn't use to: http://lists.kde.org/?l=kde-core-devel&m=119815707403042&w=2
SVN commit 752104 by kkofler: Fix inverted NDEBUG logic. Fix build in the code which was effectively disabled all this time due to the combination of the inverted logic and NDEBUG never having been defined: don't dereference the KService::Ptr we get from KService::List::at when storing it into another KService::Ptr. BUG: 154529 CCMAIL: kompare-devel@kde.org M +2 -2 kompare_shell.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=752104
Thanks a lot for your very quick response . Impressive for a sunday just before christmas time. Here kdesdk compiles fine Wish you happy holidays