[Bug 1577188] [NEW] flex contains bug not in official 2.6.0

maarten sourceforge.brock at dse.nl
Sun May 1 15:32:00 UTC 2016


Public bug reported:

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

** Affects: flex (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to flex in Ubuntu.
https://bugs.launchpad.net/bugs/1577188

Title:
  flex contains bug not in official 2.6.0

Status in flex package in Ubuntu:
  New

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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/flex/+bug/1577188/+subscriptions



More information about the foundations-bugs mailing list