This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Building GENERIC trees cont.
- From: Paul Brook <paul at codesourcery dot com>
- To: gcc at gcc dot gnu dot org
- Cc: Tom Crick <cs1tc at bath dot ac dot uk>
- Date: Sun, 9 May 2004 15:41:21 +0100
- Subject: Re: [tree-ssa] Building GENERIC trees cont.
- Organization: CodeSourcery
- References: <1084079531.409dbdab3a997@webmail.bath.ac.uk>
> 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