From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1TqoQq-0006M1-MR for mharc-grub-devel@gnu.org; Thu, 03 Jan 2013 12:18:16 -0500 Received: from eggs.gnu.org ([208.118.235.92]:52031) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqoQo-0006LU-0o for grub-devel@gnu.org; Thu, 03 Jan 2013 12:18:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TqoQm-0004ZK-P1 for grub-devel@gnu.org; Thu, 03 Jan 2013 12:18:13 -0500 Received: from mail-ee0-f45.google.com ([74.125.83.45]:41663) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqoQm-0004ZB-ID for grub-devel@gnu.org; Thu, 03 Jan 2013 12:18:12 -0500 Received: by mail-ee0-f45.google.com with SMTP id d49so7422832eek.4 for ; Thu, 03 Jan 2013 09:18:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:x-enigmail-version:content-type; bh=3om4xoyvzEILXttvVlfnMMSpLnGDYapUzJMNwnNFrio=; b=I2dXU+5C/EnWuaZk8JfCOFbEWj6ymdmC/YGDsn7ALiZfdWmY3txeBB+VPSiUmnYHJ/ eRD/Ab2/HKItjaddsm0ZxUTA9lcZyA1xbUXuMW1NeJ44SvJiRF3Ce7IiKhVVdVZl3xyG eFskXjL1am5in7GH4yI8SbipMDgRsAMqnI0PXUXyzIKjC+rdcFx1hX3WLb3+shAJ1e4N vLUQR0YH11CUeeF6xCNup75P8ZAP8eC+kAcg/4QOviuFM2hyTIZEYi7XUwSAxiTIuIvr vonF3LL+YbS3n9As7EFFkwmN6xASgy1jgMqGS26axbaYHuwvjcBchy8rCXZfvzASYZBM r/7g== X-Received: by 10.14.174.198 with SMTP id x46mr135832472eel.23.1357233491803; Thu, 03 Jan 2013 09:18:11 -0800 (PST) Received: from debian.x201.phnet (229-81.78-83.cust.bluewin.ch. [83.78.81.229]) by mx.google.com with ESMTPS id 43sm105146215eed.10.2013.01.03.09.18.10 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 03 Jan 2013 09:18:10 -0800 (PST) Message-ID: <50E5BD50.3000306@gmail.com> Date: Thu, 03 Jan 2013 18:18:08 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.11) Gecko/20121122 Icedove/10.0.11 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re: GRUB 2.00 build and flex-2.5.37 References: <501EF1BE.6030103@gmail.com> <20130102102252.GA4692@riva.dynamic.greenend.org.uk> In-Reply-To: <20130102102252.GA4692@riva.dynamic.greenend.org.uk> X-Enigmail-Version: 1.4.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig4093964764C48BF79BC354D0" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 74.125.83.45 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jan 2013 17:18:15 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig4093964764C48BF79BC354D0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 02.01.2013 11:22, Colin Watson wrote: > On Sun, Aug 05, 2012 at 05:20:46PM -0500, Bruce Dubbs wrote: >> 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.= >=20 > That would be incorrect; the default implementation of yy_fatal_error > uses fprintf, which is not valid in parts of GRUB that need to run > freestanding. More correct would probably be to insert an artificial > reference to yy_fatal_error, since flex offers no way to suppress its > definition. >=20 It's ok to make such warnings non-breaking by corresponding #pragma. In fact we already have: #pragma GCC diagnostic ignored "-Wunused-function" So the report is obviously for some older version. >> grub_script.yy.c: In function 'yy_scan_bytes': >> grub_script.yy.c:2296:17: error: comparison between signed and >> unsigned integer expressions [-Werror=3Dsign-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. >=20 > I tried to reproduce this and the other warning with flex 2.5.37 and GC= C > 4.7.2 and couldn't, so I'm reluctant to make a change that I can't test= =2E > Can you still reproduce this? If so, could you attach your generated > grub_script.yy.c? >=20 --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig4093964764C48BF79BC354D0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREKAAYFAlDlvVAACgkQNak7dOguQgnPpAEAjvYOwU9bFXQtqA9yNyiXBQX3 bbdTg0sN1/VuUpxriT8A/1GeV1wud4bH6onB7qCB+amgmjgx8FR/EESdWXhWyI2M =lsqb -----END PGP SIGNATURE----- --------------enig4093964764C48BF79BC354D0--