[Bug 55202] New: Problems parsing global variables (it jumps to one of the places where they are declared with external)
Amilcar do Carmo Lucas
a.lucas at tu-bs.de
Wed Feb 26 10:49:02 UTC 2003
------- 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=55202
Summary: Problems parsing global variables (it jumps to one of
the places where they are declared with external)
Product: kdevelop
Version: unspecified
Platform: unspecified
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kdevelop-devel at barney.cs.uni-potsdam.de
ReportedBy: a.lucas at tu-bs.de
Version: (using KDE KDE 3.1)
Compiler: gcc 2.95.3
OS: Linux
I have a couple of global variables in my main file:
int foo;
int bar;
int main(){
}
Then in some other files I would like to access these variables so I write on the top of the files:
external int foo;
external int bar;
These variables are correctly parsed as global variables, but when I click on them in the class viewer, it jumps to one of the files where they are declared as external instead of their main declaration (the only declaration without the external).
This is also present in the KDevelop 2.1.5 parser.
More information about the KDevelop-devel
mailing list