This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gengtype Problem
- From: Geoff Keating <geoffk at geoffk dot org>
- To: Dan Towner <dant at picochip dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: 11 Jun 2002 11:28:59 -0700
- Subject: Re: gengtype Problem
- References: <3D05F1E1.3EDCA88F@picochip.com>
Dan Towner <dant@picochip.com> writes:
> Hi all,
>
> I am working on a port of gcc. Up until now, I have used the 3.0/3.1
> releases as bases from which to work. I have recently merged with the
> current mainline gcc branch, and I am now encountering a new problem.
> Once the compiler has been configured, and starts to build, the
> following error message is generated:
>
> /gengtype config.h auto-host.h ../../gcc/gcc/ etc...
>
> ./../gcc/gcc/config/picochip/picochip.h:472: type `CUMULATIVE_ARGS'
> previously defined../../gcc/gcc/gengtype.c:1911: previously defined here
>
> Other targets seem to run more or less the same command in their build
> processes, but don't encounter this problem, and I can't figure out what
> they are doing differently. How can I get around this problem?
It's hard to say without looking at your sources. How are you
defining CUMULATIVE_ARGS?
--
- Geoffrey Keating <geoffk@geoffk.org> <geoffk@redhat.com>