-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 5 Nov 2002 01:13:41 -0800 (PST), anthony baldwin wrote:

> Just to test gcc, I tried to compile this:
> 
> ***test.c***
> #include <stdio.h>
> int main(int argc, char *argv[]) {
>    printf("By Jove, it works!\n");
>    return 0;
> }
> *** end file ***
> 
> with this:
> gcc -o test test.c
> 
> And it didn't work.
> 
> I got this:
> 
> test.c:1: parse error before '.' token
> In file included from /usr/include/bits/types.h:143,
>                  from /usr/include/stdio.h:36,
>                  from test.c:2:

Drop those two invalid (!) comments from the first and last line of
the test.c source file.

- -- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE9x51q0iMVcrivHFQRAke1AJ9y3ufrcBojpxBqU4LqJIrGUmJSdQCcCe6b
RmlkScaqQkAn/39BOt3jYmo=
=8cGG
-----END PGP SIGNATURE-----



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list
  • gcc anthony baldwin
    • Re: gcc Emmanuel Seyman
    • Michael Schwendt

Reply via email to