From kdevelop-bugs Sun Oct 29 15:25:39 2006 From: Harald van "Dijk" Date: Sun, 29 Oct 2006 15:25:39 +0000 To: kdevelop-bugs Subject: [Bug 136464] New: kdevelop flags C function named "emit" as an error Message-Id: <20061029162538.136464.truedfx () gentoo ! org> X-MARC-Message: https://marc.info/?l=kdevelop-bugs&m=118306955510672 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=136464 Summary: kdevelop flags C function named "emit" as an error Product: kdevelop Version: unspecified Platform: Gentoo Packages OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general AssignedTo: kdevelop-bugs kdevelop org ReportedBy: truedfx gentoo org Version: 3.3.5 (using KDE KDE 3.5.5) Installed from: Gentoo Packages KDevelop doesn't like functions named "emit". It flags syntax errors on lines 1 and 3 of a file consisting of nothing more than void emit(void) { return; } According to bug #51318, it has a special meaning in QT, but I'm not using QT. I'm not even using C++. It would be nice if kdevelop would take that into account. (Note that this bug is not about the highlighting. Although a declaration of emit gets highlighted wrongly, that's only an issue in C++ mode, and even then easily ignored. This bug is about KDevelop's "Problems" function.)