-
Notifications
You must be signed in to change notification settings - Fork 537
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sign-compare compiler warning #61
Comments
This should be resolved in current master. Your report mentions 2.6.0, so please check this against the current tip of master. |
What flex are you using in the build of selinux? On Friday, 26 February 2016, 10:25 am -0800, cgzones notifications@github.com wrote:
Will Estes |
i still get the same warning (different line number) with the latest git. my steps:
result:
sorry, i posted a previous version of this post earlier, which used an old version of flex |
Thanks for the clarification. You should now see this compile. I get no output from the compilation command with the change I just committed and pushed. |
Thanks, it works now |
Hi @westes, can you provide a patch NixOS could apply to 2.6.1 to resolve this? We tried applying 3946924ed5e77420c453bf841603c7278766093abut it doesn't apply cleanly. We're finding we'll need to patch several packages with |
BTW, it's not just NixOS. I believe e.g. Debian (still) suffers from this as well on 2.6.1: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=835542#59 |
Regarding the 2.6.1 problem, I've opened #97. |
I'll be pushing oftc@8d18a80 to Debian to fix this in 2.6.1. |
I just wonder, why not 2.6.3 directly? |
Because Debian likes to keep old obsolete versions around. That patch doesn't apply against 2.6.3 anyways.
…On Friday, 30 December 2016, 3:42 pm -0800, Vladimír Čunát ***@***.***> wrote:
I just wonder, why not 2.6.3 directly?
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#61 (comment)
--
Will Estes
westes575@gmail.com
|
Ubuntu-16.04 uses flex-2.6.0 which causes a compiler warning. See westes/flex#61
They were: geneol, fulltable, eecs, and debug. To accomplish this, dataend's emission of trailing } needed to be suppressable. Also, remove a %% mark that is no longer required. This doesn't change any of the generated tables, but does change the orer in which they're generated, froducing large diffs in the generated test code that don't actually mean anything. The reason for this is that tables used to come out in a variable order as functions like geneecs were called ar variable times depending on the compressuion mode. Now, instead, the order is fixed by where the tanle-body macros these functions define are expanded. More methods remain to be turnerd into macro generators. westes#61 in the retargeting patch series, following an unnumbered bugfix patch that I shipped in too much of a hurry.
https://github.com/westes/flex/blob/master/src/flex.skl#L1781 is raising sign-compare warnings with flex 2.6.0 on debian sid for me:
gcc-5 / gcc-6:
clang-3.8:
The text was updated successfully, but these errors were encountered: