From 57e9ba920d7b2c74b484d1e3b5090f13eccdce7f Mon Sep 17 00:00:00 2001 From: Nick Bowler Date: Sun, 18 Sep 2011 19:31:32 -0400 Subject: [PATCH] Add nodefault to flex options. We don't rely on this behaviour, and the default rule causes gcc to emit a warning with -D_FORTIFY_SOURCE=2. Just kill it. --- src/scan.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scan.l b/src/scan.l index ad90afe..946d58e 100644 --- a/src/scan.l +++ b/src/scan.l @@ -20,7 +20,7 @@ #include "parse.h" } -%option noyywrap bison-locations reentrant never-interactive +%option nodefault noyywrap bison-locations reentrant never-interactive %option extra-type="_Bool" %option prefix="cdecl__yy" -- 2.43.2