Summary: | kdesdk (kde4) compile error | ||
---|---|---|---|
Product: | [Applications] kompare | Reporter: | Vincent ETIENNE <ve> |
Component: | general | Assignee: | Kevin Kofler <kevin.kofler> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Vincent ETIENNE
2007-12-23 14:56:44 UTC
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 |