https://bugs.winehq.org/show_bug.cgi?id=42132
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |NOTOURBUG
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- The fix isn't quite enough:
flex -omacro.lex.yy.c macro.lex.l gcc -m32 -c -o macro.lex.yy.o macro.lex.yy.c -I. -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe \ -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers \ -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla \ -Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-2 -gstrict-dwarf -fno-omit-frame-pointer \ -Werror -g -O2 -fno-diagnostics-show-caret macro.lex.yy.c:398:0: error: "yywrap" redefined [-Werror] macro.lex.yy.c:74:0: note: this is the location of the previous definition cc1: all warnings being treated as errors Makefile:280: recipe for target 'macro.lex.yy.o' failed
That's really a flex bug: https://github.com/westes/flex/issues/160
We could add a workaround, but let's see if we can't get it fixed first.