This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [tree-ssa] Building GENERIC trees cont.


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]