Bug 612465 - No prototypes generated with reentrant
No prototypes generated with reentrant
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: flex (Show other bugs)
13
All Linux
low Severity medium
: ---
: ---
Assigned To: Petr Machata
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-07-08 05:59 EDT by Akira TAGOH
Modified: 2015-05-04 21:35 EDT (History)
2 users (show)

See Also:
Fixed In Version: flex-2.5.35-11.fc13
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-07-26 22:39:04 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Akira TAGOH 2010-07-08 05:59:57 EDT
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:
Comment 1 Petr Machata 2010-07-13 11:50:04 EDT
Filed upstream as:
https://sourceforge.net/tracker/?func=detail&aid=3029024&group_id=97492&atid=618177

Patch attached there, will add to Fedora momentarily.
Comment 2 Fedora Update System 2010-07-13 12:13:49 EDT
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
Comment 3 Fedora Update System 2010-07-13 16:39:21 EDT
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
Comment 4 Akira TAGOH 2010-07-13 22:35:16 EDT
The updated package doesn't fix the issue yet. I can still see same issue with the above package.
Comment 5 Fedora Update System 2010-07-14 07:48:41 EDT
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
Comment 6 Petr Machata 2010-07-14 07:49:59 EDT
Should work now.  I forgot that changes done to flex.skl won't propagate to skel.c on initial build.
Comment 7 Fedora Update System 2010-07-14 19:05:00 EDT
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
Comment 8 Fedora Update System 2010-07-26 22:38:56 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.