GCC 3.4.1 error in input.h

James E Wilson wilson@specifixinc.com
Sun Aug 1 22:51:00 GMT 2004


Mangal wrote:
> I have the code for a target that compiles fine on gcc3.2.1 but with
> 3.4.1 it gives me the following error:

There have been many changes to internal structures, macros, etc since 
gcc-3.2.  Gcc internals change frequently, and we do not track what 
those changes are.  If you want to port a backend from gcc-3.2 to 
gcc-3.4, then you will have to make changes to it to get it to work with 
gcc-3.4, and you may have to do some investigation to figure out what 
all of the problems are.

> ../../gcc-3.4.1/gcc/input.h:27: parse error before `('

> I read the documentation of GTY and am unable to figure out the
> problem. I looked into the Changelogs and could not find any
> difference that has to be done in any target files.

Try "grep GTY *.h" and note that it is defined in coretypes.h.  Are you 
including coretypes.h in your my_target.c file?
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



More information about the Gcc mailing list