[tree-ssa] Building GENERIC trees cont.
Paul Brook
paul@codesourcery.com
Sun May 9 14:41:00 GMT 2004
> I'm still playing with BCPL and still struggling with the building of
> GENERIC trees and the GCC integration.
>
> Currently, I'm having trouble with a whole load of spurious errors when I
> include the headers "tree.h", "config.h" and "system.h" in my (Bison
> generated) parser. I get hundreds of errors and warning in (mainly) tree.h,
> input.h and machmode.h about parse errors and ISO C conflicts. Have I
> included the correct headers, or are more required? I've had a look at
> c-common.c, but I was not sure if I needed to include the same headers.
You missed out coretypes.h.
You probably need to include them in the correct order. Specifically: config,
system, coretypes, tree.
Paul
More information about the Gcc
mailing list