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.
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.
Dupe *** This bug has been marked as a duplicate of 57156 ***