From kdevelop-bugs Wed Jul 29 21:38:00 2009 From: Gerard Mensoif Date: Wed, 29 Jul 2009 21:38:00 +0000 To: kdevelop-bugs Subject: [Bug 201943] New: c++ compile Message-Id: X-MARC-Message: https://marc.info/?l=kdevelop-bugs&m=124890356719073 https://bugs.kde.org/show_bug.cgi?id=201943 Summary: c++ compile error: duplicate ´const´ Product: kdevelop Version: unspecified Platform: unspecified OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general AssignedTo: kdevelop-bugs@kdevelop.org ReportedBy: mensoif_gerard@yahoo.fr Version: 3.9.94 (using KDevPlatform 0.9.94) (using 4.2.4 (KDE 4.2.4), Debian packages) Compiler: cc OS: Linux (i686) release 2.6.26-2-686 In my header file I have the statement : ZString operator= (const char *chaine); If in the cpp file i Type a Z kdevelop creates me : ZString ZString::operator=(const const char* chaine) { } the const sentence is doubled, which causes a cpp error : "error: duplicate ´const´" -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ KDevelop-bugs mailing list KDevelop-bugs@kdevelop.org https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs