Bug#1825: marked as done (subclasses name [01:07,27.08.99])

Stephan Kulow owner at max.tat.physik.uni-tuebingen.de
Fri Aug 27 08:48:00 UTC 1999


Your message dated Fri, 27 Aug 1999 10:42:35 +0200
with message-id <37C64F7B.B696C6B5 at cenacle.se>
and subject line Bug#1825: subclasses name [01:07,27.08.99]
has caused the attached bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I'm
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Stephan Kulow
(administrator, KDE bugs database)

Received: (at submit) by bugs.kde.org; 26 Aug 1999 22:37:35 +0000
>From ert at cit.org.by Fri Aug 27 00:37:34 1999
Received: from lxms.cit.org.by ([194.85.255.34]:6662 "EHLO lxms.cit.org.by") by max.tat.physik.uni-tuebingen.de with ESMTP id <S773907AbPHZWhU>; Fri, 27 Aug 1999 00:37:20 +0200
Received: from cit.org.by (proliant_s19.cit [192.168.255.19])
	by lxms.cit.org.by (8.9.3/8.9.3/Debian/GNU) with ESMTP id BAA02493
	for <submit at bugs.kde.org>; Fri, 27 Aug 1999 01:33:51 +0300
Message-ID: <37C5C14A.B88FA71C at cit.org.by>
Disposition-Notification-To: Andrew Lipnitsky <ert at cit.org.by>
Date:	Fri, 27 Aug 1999 01:35:55 +0300
From:	Andrew Lipnitsky <ert at cit.org.by>
X-Mailer: Mozilla 4.5 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To:	submit at bugs.kde.org
Subject: subclasses name [01:07,27.08.99]
Content-Type: text/plain; charset=koi8-r
Content-Transfer-Encoding: 7bit
Return-Path: <ert at cit.org.by>
X-Orcpt: rfc822;submit at bugs.kde.org

Package: kdevelop
Version: 1.0beta1
Severity: normal

Bugreport ID : 01:07,27.08.99

Originator : Andrew Lipnitsky
E-Mail : ert at cit.org.by

Subject : subclasses name

Error Class : software bug
Error Location: I don?t know
Priority : medium
Bug Description ---------------------------

 If there exist two subclasses with the same name for example as below:
class A {
:.
   class subclass {
 :..
   };
:.
};

class B {
:.
   class subclass {
 :..
   };
:
};

then Kdevelop exits with core dump.

How to repeat the error -------------------



Bugfix or Workaround ----------------------

There is a trick to avoid this problem:

#ifndef CLASSHIDE
#define CLASSHIDE(x__) x__
#endif

class A {
:.
   class CLASSHIDE(subclass) {
 :..
   };
:.
};

class B {
:.
   class CLASSHIDE(subclass) {
 :..
   };
:
};


System Information ------------------------

KDevelop version : 1.0beta1
KDE version  : 1.1.1
QT version  : 1.44
OS/Distribution : Linux RedHat 6.0 (Intel)
Compiler  :  egcs-1.1.2






More information about the KDevelop-devel mailing list