[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 283203] New: complains about static object declaration right
From: Alexander Potashev <aspotashev () gmail ! com>
Date: 2011-10-02 20:04:08
Message-ID: bug-283203-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=283203
Summary: complains about static object declaration right after
"struct"
Product: kdevelop
Version: 4.2.3
Platform: Archlinux Packages
OS/Version: Linux
Status: NEW
Severity: normal
Priority: NOR
Component: Language Support: CPP
AssignedTo: kdevelop-bugs@kdevelop.org
ReportedBy: aspotashev@gmail.com
Version: 4.2.3 (using KDE 4.7.1)
OS: Linux
When I write the following code:
struct globalArgs_t
{
const char *branch;
int numInputFiles;
char **inputFiles;
} static globalArgs;
KDevelop reports a syntax analysis problem: "Expected token ';' after '}' found
'static'".
Reproducible: Always
Expected Results:
OS: Linux (x86_64) release 3.0-ARCH
Compiler: gcc
--
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic