[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: grub_script.yy.c:2354:13: error: 'yy_fatal_error' defined but not us
From: |
Alec Taylor |
Subject: |
Re: grub_script.yy.c:2354:13: error: 'yy_fatal_error' defined but not used |
Date: |
Thu, 15 May 2014 17:09:15 +1000 |
Thanks, that fixed it.
On Fri, May 2, 2014 at 3:44 PM, Andrey Borzenkov <address@hidden> wrote:
> В Fri, 2 May 2014 09:46:07 +1000
> Alec Taylor <address@hidden> пишет:
>
>> When building the latest grub2 (2.00) I get this error.
>>
>
> The latest version is 2.02 beta2
>
>> I have tried adding -Wno-unused-function to both HOST_CFLAGS,
>> HOST_CPPFLAGS, TARGET_CPPFLAGS and TARGET_CFLAGS in the Makefile. I
>> even tried deleting that function whilst make was running!
>>
>> Unfortunately the error remains.
>>
>> Assistance would be appreciated
>>
>
> This is likely fixed in this commit:
>
> commit 9cc836a27be4a95f6f7bfd5b6bc099801645c0ea
> Author: Vladimir 'phcoder' Serbinenko <address@hidden>
> Date: Wed Sep 5 08:51:31 2012 +0200
>
> * grub-core/script/yylex.l: Ignore unused-function and sign-compare
> warnings.