Re: [PATCH] libsepol: cil_lexer: make warnings non-fatal for building

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 15, 2016 at 11:21 PM, Stephen Smalley <sds@xxxxxxxxxxxxx> wrote:
The flex skeleton often triggers compiler warnings; make these
non-fatal for building.  We already do likewise for checkpolicy.

For information, I am using flex 2.6.1 on my system and the generated code triggers -Wsign-compare warnings. I looked at the flex git repository and found some patches which fix these warnings in 2.6.2 (https://github.com/westes/flex/commits/1da19feba7c957e0f0af0c3eeadc29e8c82b0ca3). When I backported these patches to flex 2.6.1, the generated code no longer triggered any compiler warning.

Anyway your patch looks good to me.

Nicolas
_______________________________________________
Selinux mailing list
Selinux@xxxxxxxxxxxxx
To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx.
To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.

[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux