[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 136464] New: kdevelop flags C function named "emit" as an error
From:       Harald van "Dijk" <truedfx () gentoo ! org>
Date:       2006-10-29 15:25:39
Message-ID: 20061029162538.136464.truedfx () gentoo ! org
[Download RAW message or body]

------- 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.)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic