Andrei Borzenkov <[email protected]> [2017-06-04 20:47+0300]:
> flex bug fixed in flex git.
>
> https://github.com/westes/flex/issues/162
I don’t think this is the same problem. Using the latest master for both
GRUB and flex I get this error (but not with flex 2.6.3):
grub_script.yy.c: In function ‘yy_fatal_error’:
grub_script.yy.c:19:22: error: statement with no effect [-Werror=unused-value]
#define fprintf(...) 0
^
grub_script.yy.c:2367:2: note: in expansion of macro ‘fprintf’
fprintf( stderr, "%s\n", msg );
^~~~~~~
Configuring with --disable-werror works. The relevant commit is
https://github.com/westes/flex/commit/a58086
_______________________________________________
Bug-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-grub