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: gengtype Problem


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>


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