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: GCC 3.4.1 error in input.h


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



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