Hello!!!
ÃÂÃÂøîþÃÂ
riaju@hanmail.net
Wed Feb 14 02:30:00 GMT 2001
Dear Mr.
Hello!!!
I am student of Kyungpook National University in Korea.
When I complied in gcc2.95.2, occured error below.
O.S. is linux
flex.skl version is 2.91.96
> lex -l -t lex.l>lex.c
> gcc -c -g lex.c
lex.l: In function `yylex':
lex.l:50: `yytchar' undeclared (first use in this function)
lex.l:50: (Each undeclared identifier is reported only once
lex.l:50: for each function it appears in.)
lex.l:50: `yysptr' undeclared (first use in this function)
lex.l:50: `yysbuf' undeclared (first use in this function)
lex.l: At top level:
lex.l:551: parse error before `='
lex.l:556: conflicting types for `yy_c_buf_p'
lex.c:219: previous declaration of `yy_c_buf_p'
lex.l:556: warning: initialization makes pointer from integer without a cast
lex.l:556: initializer element is not constant
lex.l:556: warning: data definition has no type or storage class
lex.l:558: parse error before `if'
lex.l:612: initializer element is not constant
lex.l:612: warning: data definition has no type or storage class
lex.l:613: redefinition of `yy_c_buf_p'
lex.l:556: `yy_c_buf_p' previously defined here
lex.l:613: warning: data definition has no type or storage class
lex.l:614: conflicting types for `yy_hold_char'
lex.c:211: previous declaration of `yy_hold_char'
lex.l:614: initializer element is not constant
lex.l:614: warning: data definition has no type or storage class
lex.l:616: parse error before `->'
lex.l: In function `yy_switch_to_buffer':
lex.l:653: warning: assignment from incompatible pointer type
lex.l: In function `yy_load_buffer_state':
lex.l:676: warning: assignment from incompatible pointer type
lex.l:676: warning: assignment from incompatible pointer type
in lex.l file.
#define input() ((((yytchar=yysptr>yysbuf?U(*--yysptr):getc(yyin)),downshift(yytchar))==10?(yylineno++,yytchar):yytchar)==EOF?0:yytchar)
yysptr, yysbuf, yytchar is function of lex ?
Please send response!!!
Thank you.
==================================================
ÃÂÃÂøîþÃÂÿéÿä
==================================================
ÿìøî ÃÂÃÂÃÂ
ÃÂóÃÂ, Daum
ÃÂòûý þòôàùë÷á E-mail ÃÂÃÂüàÃÂÃÂøÃÂÃÂÃÂóÃÂ
ÃÂöñøÃÂàÃÂÃÂñàðÃÂûöüÃÂúñýú Daum FIREBALL
http://www.daum.net
More information about the Libc-alpha
mailing list