Bug 30943
Summary: | Compiling flex++ generated C++ source with -Wall produces warnings | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Boris Folgmann <boris> | ||||||
Component: | flex | Assignee: | Petr Machata <pmachata> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | David Lawrence <dkl> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 7.0 | CC: | knweiss, mnewsome, stssppnn, uli42 | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | i386 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | FC-4 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2006-02-02 18:02:40 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Boris Folgmann
2001-03-07 12:54:41 UTC
This is fixed in the rawhide/beta flex package, AFAIK. No, it isn't. I tried it with flex-2.5.4a-13 from ftp.redhat.com/rawhide. It produces the same warnings. Another point: could you add bison++ to the Red Hat distribution? flex++ doesn't make much sense without bison++. I had to use the Mandrake RPM bison++-1.21.7-2mdk, but would like to see it full-supported in my favorite distribution. It's a must for the serious developer. I just wanted to add that this is not fixed in flex-2.5.4a-26. This warning appears when plain flex is used, not only flex++. The warning doesn't appear (for me) if I don't use a REJECT directive in the scanner. I'll attach an example of the scanner that exibits the problem. Created attachment 70964 [details]
Simple scanner - testcase for a bug
Created attachment 70966 [details]
Forgotten piece of a scanner
Apologies for this getting lost in the shuffle. Could you try this on a current release? $ flex parser.l $ cc -c -Wall lex.yy.c lex.yy.c:1768: warning: 'yy_flex_realloc' defined but not used $ rpm -q flex flex-2.5.4a-33 Not a big problem of course. From User-Agent: XML-RPC flex-2.5.4a-35.fc4 has been pushed for FC4, which should resolve this issue. If these problems are still present in this version, then please make note of it in this bug report. |