flex contains bug not in official 2.6.0

Bug #1577188 reported by maarten
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
flex (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hi,

The Ubuntu flex package claims to be 2.6.0, but it contains a bug that is solved in the flex 2.6.0 sources at sourceforge ( https://sourceforge.net/projects/flex/files/ ). You have to look for it in the source download since the cvs seems outdated there. The result is that flex creates sources that generate warnings which fail to build when that source is build with gcc -Werror.

I see in /usr/bin/flex at offset 0x387d0:
000387d0 09 69 66 20 28 28 69 6e 74 29 20 28 59 59 5f 47 |.if ((int) (YY_G|

It is the cast to int that generates the warning and should be a cast to yy_size_t.
I don't know if there are any more differences, but I'm worried there are.

Please fix this
Maarten Brock
SDCC Developer

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.