有没有朋友懂yacc,真诚请教# Unix - 噫吁兮,危乎高哉
s*2
1 楼
没有朋友懂yacc的,我有一个bug,始终不知道怎么解决,真诚请教。
我有一个问题,我在运行程序以后出现:
compl.l: In function `yylex':
compl.l:75: warning: assignment makes integer from pointer without a cast
/tmp/ccKAECtZ.o(.text+0x1466): In function `main':
/tmp/ccovPdqh.o(.text+0x1fd): first defined here
/usr/bin/ld: Warning: size of symbol `main' changed from 40 in /tmp/ccovPdqh
.o to 596 in /tmp/ccKAECtZ.o
/tmp/ccKAECtZ.o(.text+0x2a8): In function `yylex':
collect2: ld returned 1 exit status
这种情况是哪里出了错,我该怎么样修改呢?
十分感谢。
我有一个问题,我在运行程序以后出现:
compl.l: In function `yylex':
compl.l:75: warning: assignment makes integer from pointer without a cast
/tmp/ccKAECtZ.o(.text+0x1466): In function `main':
/tmp/ccovPdqh.o(.text+0x1fd): first defined here
/usr/bin/ld: Warning: size of symbol `main' changed from 40 in /tmp/ccovPdqh
.o to 596 in /tmp/ccKAECtZ.o
/tmp/ccKAECtZ.o(.text+0x2a8): In function `yylex':
collect2: ld returned 1 exit status
这种情况是哪里出了错,我该怎么样修改呢?
十分感谢。