This is the mail archive of the gcc-help@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]

parse error before const


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







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