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


Geoff,

> > 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>

Originally it was a typedef:

typedef unsigned int CUMULATIVE_ARGS;

Replacing it with a #define worked:

#define CUMULATIVE_ARGS unsigned int;

I'm not sure why this made a difference though, and other targets (e.g.,
ia64, mips) use typedefs, and appear to work fine.

Dan.
 
=============================================================================
Daniel Towner
picoChip Designs Ltd., Riverside Buildings, 108, Walcot Street, BATH,
BA1 5BG
dant@picochip.com
07786 702589


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