I am using flex to generate a reentrant scanner, and am getting GCC
warnings about unused parameters (the 'yyscanner' added to everything
by '%option reentrant') in yy_fatal_error, yyalloc, yyrealloc, and
yyfree. I generally like to keep my build free of warnings (with
-Wall -Wextra); is there a clean way to avoid these warnings short of
special-casing my Makefile to add '-Wno-unused-parameter' to the
compiler flags when compiling the C file generated by flex? I've
googled around and haven't been able to find anything.