[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
Re: grub_script.yy.c:2354:13: error: 'yy_fatal_error' defined but not used
Fri, 2 May 2014 09:44:32 +0400
В 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:
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