Version: 3.2 (using KDE KDE 3.4.0) Installed from: SuSE RPMs Compiler: gcc 3.3.5 OS: Linux If you use multiple inheritance in a CORBA idl interface defenition, KDevelop mistakenly highlights it as an error. For example: // -- Includes #include "IGEN/IGENviewModel.idl" #include "IGPR/IGPRviewModel.idl" interface IOBQviewModel: IGENviewModel, IGPRviewModel // <--ERROR HIGHLIGHTED HERE { // EXCEPTIONS // METHODS // update used entries on the display oneway void updateUsedEntries( in unsigned short entries ); // <-- AND HERE } However the following is fine and reports no errors: // -- Includes #include "IGEN/IGENviewModel.idl" interface IOBQviewModel: IGENviewModel { // EXCEPTIONS // METHODS // update used entries on the display oneway void updateUsedEntries( in unsigned short entries ); } Both examples are vaild interface descriptions (omniORB).
KDevelop's parser doesn't support IDL. It tries to parser it as a C++ file and (obviously) finds problems. The bug here is that non-C/C++ files are parsed at all.
*** Bug 111479 has been marked as a duplicate of this bug. ***
*** Bug 91634 has been marked as a duplicate of this bug. ***
SVN commit 617453 by dagerbo: This patch does a few related things: #removes a lot of unused and weird stuff from problemreporter #all parser activation decisions are moved back into cppsupport where it belongs, problemreporter is just UI #fixes flickering problem tabs #fixes a case where already open documents don't get a problem icon marker #fixes sorting so it happens numerically, no lexographically #afaik fixes repeated entries. if this still happens, I don't think problem reporter is responsible #afaik fixes the remaining cases where the parser could be invoked against non-c/c++ files BUG: 111341 BUG: 117621 BUG: 131716 BUG: 135958 M +53 -14 cppsupportpart.cpp M +9 -4 cppsupportpart.h M +44 -144 problemreporter.cpp M +7 -16 problemreporter.h