[chuck-dev] Build problem for 1.2.0.3
Ge Wang
gewang at CS.Princeton.EDU
Sun Oct 23 11:05:28 EDT 2005
Hi Erik and all,
> gcc -D__LINUX_ALSA__ -O3 -c -D__CK_SNDFILE_NATIVE__ chuck.yy.c
> chuck.lex: In function 'comment':
> chuck.lex:246: warning: comparison is always true due to limited
> range of data type
> chuck.lex: In function 'block_comment':
> chuck.lex:262: warning: comparison is always true due to limited
> range of data type
> chuck.lex:272: warning: comparison is always false due to limited
> range of data type
> chuck.lex:280: error: 'yytext_ptr' undeclared (first use in this
> function)
This problem seems to be appearing on some linux systems - some
versions of flex seems to have different requirements for where the
unput macro is used in. I can't reproduce the error on the one FC3
system I can access right now (and currently in Beijing), but I put a
modified chuck.lex file here:
http://chuck.cs.princeton.edu/release/files/snapshot/
Please download/replace chuck.lex and see if that helps (it may do no
good).
Please let me know how it turns out. Thanks!
Best,
Ge!
More information about the chuck-dev
mailing list