On Thu, 1 Nov 2007, Bruno Haible wrote: > Can you please try two more snippets? > > ====================== snippet3.c ======================== > typedef _Bool ac__type_new_; > int > main () > { > if ((ac__type_new_ *) 0) > return 0; > if (sizeof (ac__type_new_)) > return 0; > return 0; > } > =========================================================== sh-2.05$ gcc -c snippet3.c snippet3.c:1: parse error before `ac__type_new_' snippet3.c:1: warning: data definition has no type or storage class snippet3.c: In function `main': snippet3.c:5: parse error before `)'
> > and (remove those #includes that refer to nonexistent files): > > ====================== snippet4.c ======================== > #include <stdio.h> > #include <sys/types.h> > #include <sys/stat.h> > #include <stdlib.h> > #include <stddef.h> > #include <string.h> > #include <strings.h> > #include <inttypes.h> > #include <stdint.h> > #include <unistd.h> > typedef _Bool ac__type_new_; > int > main () > { > if ((ac__type_new_ *) 0) > return 0; > if (sizeof (ac__type_new_)) > return 0; > return 0; > } > =========================================================== > > $ gcc -c snippet4.c > yields what? sh-2.05$ gcc -c snippet4.c snippet4.c:11: parse error before `ac__type_new_' snippet4.c:11: warning: data definition has no type or storage class snippet4.c: In function `main': snippet4.c:15: parse error before `)' > > Bruno > -- Tim Rice Multitalents (707) 887-1469 [EMAIL PROTECTED]