All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bruce Dubbs <bruce.dubbs@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: GRUB 2.00 build and flex-2.5.37
Date: Sun, 05 Aug 2012 17:20:46 -0500	[thread overview]
Message-ID: <501EF1BE.6030103@gmail.com> (raw)

The latest flex makes the GRUB-2.00 build fail.  I can work around the 
issues with --disable-werror, but grub-core/script/yylex.l causes two 
warnings that do not work with -Werror.

./grub-core/script/yylex.l: At top level:
grub_script.yy.c:2351:13: error: 'yy_fatal_error' defined but not used

This can be fixed by removing  #define YY_FATAL_ERROR(msg) in yylex.l.

grub_script.yy.c: In function 'yy_scan_bytes':
grub_script.yy.c:2296:17: error: comparison between signed and unsigned 
integer expressions [-Werror=sign-compare]

This one is a little more difficult because it is generated by flex.  I 
don't know how to fix this except with a sed after grub_script.yy.c is 
generated by flex.

The gcc version -s 4.7.1.

   -- Bruce


             reply	other threads:[~2012-08-05 22:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-05 22:20 Bruce Dubbs [this message]
2013-01-02 10:22 ` GRUB 2.00 build and flex-2.5.37 Colin Watson
2013-01-03 17:18   ` Vladimir 'φ-coder/phcoder' Serbinenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=501EF1BE.6030103@gmail.com \
    --to=bruce.dubbs@gmail.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.