Bug#16021: marked as done (Bug adding methods with default arguments) by John Firebaugh <jfirebaugh at kde.org>

Stephan Kulow owner at bugs.kde.org
Sat Aug 31 03:04:02 UTC 2002


Your message with subj: Bug adding methods with default arguments

Thank you for your bug report.
The bug that you reported has been identified, and has been fixed in the
latest development (CVS) version of KDE. The bug report will be closed.

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)

(Complete bug history is available at http://bugs.kde.org/db/16/16021.html)

Received: (at submit) by bugs.kde.org; 25 Nov 2000 09:10:12 +0000
Received: (qmail 15367 invoked from network); 25 Nov 2000 09:10:11 -0000
Received: from viemta06.chello.at (195.34.133.56)
  by max.tat.physik.uni-tuebingen.de with SMTP; 25 Nov 2000 09:10:11 -0000
Received: from chello213047228041.tirol.surfer.at ([213.47.228.41])
          by viemta06.chello.at
          (InterMail vK.4.02.00.10 201-232-116-110 license 9caa03a7df1d31c048ffcc0d31ac5855)
          with ESMTP
          id <20001125091010.BGXQ14762.viemta06 at chello213047228041.tirol.surfer.at>
          for <submit at bugs.kde.org>; Sat, 25 Nov 2000 10:10:10 +0100
Date: Sat, 25 Nov 2000 10:10:39 GMT+1
From: Johannes Lochmann <johannes.lochmann at chello.at>
To: submit at bugs.kde.org
Subject: Bug adding methods with default arguments
Reply-To: johannes.lochmann at chello.at
X-Mailer: Spruce 0.6.5 for X11 w/smtpio 0.7.9
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
Message-Id: <20001125091010.BGXQ14762.viemta06 at chello213047228041.tirol.surfer.at>


Package: kdevelop
Version: 1.2
Severity: normal

Bugreport ID : 10:00,25.11.00

Originator      : Johannes Lochmann
E-Mail          : johannes.lochmann at gmx.net

Subject : Bug adding methods with default arguments

Error Class     : software bug
Error Location  : I don´t know
Priority        : low
Bug Description ---------------------------

When I add a method to a class using the "add method" dialog and the 
method uses a float argument with a default argument, the header is written
correctly, but in the source file the default argument ist incorrectly
expanded
from for example 0.0 to 0::0.

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

Add a Method to a class using the "add method" dialog, for example:

void foo(float f=0.0)

int the header you get:

void foo(float f=0.0)

but in the source you get:

void <classname>::foo(float f=0::0){
}



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

I dont know where this comes from and do not know how to work around
other than manually correct the problem.

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

KDevelop version        : 1.2
KDE version             : 2.0
QT version              : 2.1.1
OS/Distribution         : Suse 7.0
Compiler                : g++

misc :






More information about the KDevelop-devel mailing list