parse error before const

P. Pavan Kumar pavankumar@cse.iitb.ac.in
Tue Nov 7 06:31:00 GMT 2006


Hi
I am trying to extract the genautomata.c file from the gcc(4.1.1) source
code in order to use that file in my program. I have included all the
required header files in my directory. when i compiled the genautomata.c
file
the following errors encountered.

In file included from rtl.h:45,
                 from genautomata.c:109:
rtl.def:329: error: parse error before ‘const’
rtl.def:446: error: parse error before ‘,’ token
genautomata.c: In function ‘make_insn_alts_attr’:
genautomata.c:9559: error: ‘COND’ undeclared (first use in this function)
genautomata.c:9559: error: (Each undeclared identifier is reported only once
genautomata.c:9559: error: for each function it appears in.)
genautomata.c: In function ‘make_internal_dfa_insn_code_attr’:
genautomata.c:9595: error: ‘COND’ undeclared (first use in this function)
genautomata.c: In function ‘make_default_insn_latency_attr’:
genautomata.c:9631: error: ‘COND’ undeclared (first use in this function)
genautomata.c: In function ‘make_bypass_attr’:
genautomata.c:9677: error: ‘COND’ undeclared (first use in this function)
genautomata.c: In function ‘write_automata’:
genautomata.c:10034: warning: assignment makes pointer from integer
without a cast


Pavan,
Home: http://www.cse.iitb.ac.in/~pavankumar








More information about the Gcc-help mailing list