Parse Error with printf - with source

Rick Sivernell res005ru at gte.net
Mon Jul 23 23:03:01 BST 2001


On Monday 23 July 2001 03:42 pm, you wrote:
> 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.
>
> William Bartholomew
>
> #ifdef HAVE_CONFIG_H
> #include <config.h>
> #endif
>
> #include <stdio.h>
> #include <stdlib.h>
>
> #include <sys/socket.h>
> #include <sys/types.h>
> #include <resolv.h>
> #include <netdb.h>
>
> int main(int argc, char *argv[])
> {
>          printf( "Hello World\n" );
>


use the following to find printf in your include files:
find / -name "*.h*" | grep "printf"

  it will search your entire system for header files and if they have a 
printf in the text body.

enjoy
-- 
Rick Sivernell
Dallas, Texas  75287
972 306-2296
res005ru at gte.net
Caldera Open Linux eWorkStation 3.1
Registered Linux User

        .~.
       / v \
      /( _ )\
        ^ ^
In Linux we trust!

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



More information about the KDevelop mailing list