[PATCH] programs/winhlp32: Use noyywrap for macro.lex.l

Mike Swanson mikeonthecomputer at gmail.com
Sun Jan 22 23:22:46 CST 2017

On Mon, 2017-01-23 at 05:31 +0100, Fabian Maurer wrote:
> Hello,
> I applied the patch and it compiles now, but I get a warning:
> > macro.lex.yy.c:398:0: warning: "yywrap" redefined
> > macro.lex.yy.c:74:0: note: this is the location of the previous
> > definition
> You probably want to get rid of that, too.
> Regards,
> Fabian

I looked into this, and the source is related to why I made the patch in
the first place: it seems that flex 2.6.3 just has a bug, and I don't
think I can reasonably fix it so the warning doesn't appear.

That being said, I believe my patch is still functionally equivalent to
the old code and having this alternative that works with flex 2.6.3
should still be safe for older and newer (hopefully fixed) versions.


More information about the wine-devel mailing list