Parse Error with printf - with source

Boris Zentner boris at
Mon Jul 23 22:18:05 BST 2001

Am Montag, 23. Juli 2001 22:42 hast Du geschrieben:
> OK... Here is the program I am trying to compile... if I take out the
> printf it compiles perfectly, if I leave it there I get a parse error on
> the line following the printf. However, I can compile the Hello World
> example from the KDevelop project wizard which just does a printf and that
> works perfectly. Does anyone have any suggestions? Thanks.

In C there is no code allowed before the vars you define. so move the printf 
line a little down and it will work.

cu boris

Jeder dritte, der sich beschwert, wird erschossen. Zwei waren schon da.

to unsubscribe from this list send an email to kdevelop-request at with the following body:
unsubscribe »your-email-address«

More information about the KDevelop mailing list