| Summary: | wrong c-code syntax error report | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Maciej Witaszek <maciek2w> |
| Component: | Problem reporter | Assignee: | kdevelop-bugs-null |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | esigra |
| Priority: | NOR | ||
| Version First Reported In: | 3.2.1 | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
Why not change it to the "new synthax" :
01 int
02 f1(a, b)
03 {
04 int a;
05 int b;
/* ... */
10 }
It whould make you more standards complient!
Dupe, see #103655 Amilcar: yes, I know, but I'm porting some old code (it's GNU strace tool). I decided to make as little changes as I can. |
Version: 3.2.1 (using KDE 3.4.1, PLD Linux Distribution) Compiler: gcc version 3.3.5 (PLD Linux) OS: Linux (i686) release 2.6.11.5-3 Assume a function definition and declaration in old-style that is used in K&R book: 01 int 02 f1(a, b) 03 int a; 04 int b; 05 { /* ... */ 10 } Kdevelop reports syntax error about lines 03,05 and 10.