[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Build fails with flex 2.6.4 and -Werror

From: Timotej Lazar
Subject: Re: Build fails with flex 2.6.4 and -Werror
Date: Sun, 4 Jun 2017 21:03:02 +0200

Andrei Borzenkov <address@hidden> [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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]