Hello,

when building grub2 during stage 0 my compiler was throwing an error about
an unused statement.
This was fixed on debian about a year ago
https://salsa.debian.org/grub-team/grub/commit/5031c00bb293069b0c75888a63ab628314437884

I'm attaching the one-line patch for t2-trunk
Regards :)
--- package/x86/grub2/unused-statement.patch    (nonexistent)
+++ package/x86/grub2/unused-statement.patch    (copia locale)
@@ -0,0 +1,11 @@
+--- grub-2.02/grub-core/script/yylex.l 2019-02-10 13:02:29.995511056 +0100
++++ grub-2.02/grub-core/script/yylex.l 2019-02-10 13:03:05.639429690 +0100
+@@ -91,7 +91,7 @@
+ #define stdin  0
+ #define stdout 0
+ 
+-#define fprintf(...) 0
++#define fprintf(...) (void)0
+ #define exit(...) grub_fatal("fatal error in lexer")
+ #endif
+ 
----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to