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]

Macros being updated??


Hi all,

I am hoping somebody will be able to helpl me with this. I am trying to
target a new architecure using gcc-3.2.2. I am trying to do this by
modifying the target files which were written for gcc-2.95. I understand
these target files and its architecture is similar to my own. I already had
to modify some macros using the target hooks. (thanks Alex for that).
Now however I get the following error with the file c-decl.c. I have an
inkling that it has something to do with a target macro being modified since
gcc -2.95. Anyway this is the error I get:

                 from /home/rgough/gcc-3.2.2/gcc/c-errors.c:22:
/home/rgough/gcc-3.2.2/gcc/config/npe/npe.h:47: warning: function
declaration isn't a prototype
In file included from config.h:16,
                 from /home/rgough/gcc-3.2.2/gcc/c-lex.c:22:
/home/rgough/gcc-3.2.2/gcc/config/npe/npe.h:47: warning: function
declaration isn't a prototype
In file included from config.h:16,
                 from /home/rgough/gcc-3.2.2/gcc/c-pragma.c:22:
/home/rgough/gcc-3.2.2/gcc/config/npe/npe.h:47: warning: function
declaration isn't a prototype
In file included from config.h:16,
                 from /home/rgough/gcc-3.2.2/gcc/c-decl.c:29:
/home/rgough/gcc-3.2.2/gcc/config/npe/npe.h:47: warning: function
declaration isn't a prototype
/home/rgough/gcc-3.2.2/gcc/c-decl.c: In function `get_parm_info':
/home/rgough/gcc-3.2.2/gcc/c-decl.c:5360: parse error before '(' token
/home/rgough/gcc-3.2.2/gcc/c-decl.c: In function `store_parm_decls':
/home/rgough/gcc-3.2.2/gcc/c-decl.c:6710: parse error before '(' token
make[1]: *** [c-decl.o] Error 1
make: *** [all-gcc] Error 2

What are the differences between gcc-2.95 and gcc-3.2.2. Are these
differences documented and if so where? Thanks for all the help. Any
comments / suggestions would be warmly appreciated.

Rgds

Roger


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