Description of problem: Generating a reentrant scanner causes a compiler error for no prototype of yyget_column and yyset_column. Version-Release number of selected component (if applicable): flex-2.5.35-9.fc13 How reproducible: always Steps to Reproduce: 1.echo -e "%{\n#define YY_NO_INPUT\n%}\n%%\n[0-9]+ /**/\n%%\nint main(){return 0;}"|flex --reentrant -t --nounput --noyywrap | gcc -Werror -Wall -Wmissing-prototypes -xc - Actual results: cc1: warnings being treated as errors <stdout>:1569: error: no previous prototype for ‘yyget_column’ <stdout>:1645: error: no previous prototype for ‘yyset_column’ Expected results: No errors. Additional info:
Filed upstream as: https://sourceforge.net/tracker/?func=detail&aid=3029024&group_id=97492&atid=618177 Patch attached there, will add to Fedora momentarily.
flex-2.5.35-10.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/flex-2.5.35-10.fc13
flex-2.5.35-10.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update flex'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/flex-2.5.35-10.fc13
The updated package doesn't fix the issue yet. I can still see same issue with the above package.
flex-2.5.35-11.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/flex-2.5.35-11.fc13
Should work now. I forgot that changes done to flex.skl won't propagate to skel.c on initial build.
flex-2.5.35-11.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update flex'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/flex-2.5.35-11.fc13
flex-2.5.35-11.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.