Files
nethack/sys/share
PatR a365dc3450 {dgn,lev}_lex.c - suppress yyunput() complaint
When dgn_comp.l and lev_comp.l are processed by older versions of
flex, 'gcc -Wunused' complains when compiling dgn_lex.c and lev_lex.c
because flex creates 'static void yyunput()' and nethack doesn't use
it.  Newer versions honor macro YY_NO_UNPUT to hide the offending
code, but that doesn't help with older versions (like the one
masquerading as 'lex' on OSX).  Adding a dummy usage would probably
cause problems with other lexers, so change it from static to
'void yyunput()' as a 'sed' fixup in util/Makefile after flex has
finished.  That will be a no-op when yyunput doesn't exist or isn't
static.

In addition to the sys/unix/Makefile.utl change, this checks in new
sys/share/{dgn,lev}_lex.c with the fixup in place.
2018-03-27 16:34:47 -07:00
..
2002-01-05 21:05:59 +00:00
2015-03-31 09:50:02 -04:00
2015-12-03 04:23:53 -05:00
2015-12-03 04:23:53 -05:00
2016-02-17 14:10:36 -08:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2015-06-16 02:29:22 -07:00
2015-11-01 10:23:11 +02:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2002-01-05 21:05:58 +00:00
2002-01-05 21:05:58 +00:00
2015-05-25 09:21:31 +09:00