1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-01 12:20:26 +02:00

Fix c-tokenize.c error: 'input' defined but not used, when compiling with GCC 4.3.0

This commit is contained in:
Neil Jerram 2008-05-05 23:47:24 +01:00
parent 32d1c5733a
commit 00ec6b610f
2 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2008-05-05 Neil Jerram <neil@ossau.uklinux.net>
* c-tokenize.lex: #define YY_NO_INPUT.
2008-04-26 Ludovic Courtès <ludo@gnu.org>
* read.c (scm_read_sexp): Remove extraneous semi-colon at

View file

@ -19,6 +19,11 @@ INTQUAL (l|L|ll|LL|lL|Ll|u|U)
#include <stdlib.h>
#include <string.h>
/* Prevent compilation of static input() function in generated scanner
code. This function is never actually used, and GCC 4.3 will emit
an error for that. */
#define YY_NO_INPUT
int yylex(void);
int yyget_lineno (void);