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:
parent
32d1c5733a
commit
00ec6b610f
2 changed files with 10 additions and 1 deletions
|
@ -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>
|
2008-04-26 Ludovic Courtès <ludo@gnu.org>
|
||||||
|
|
||||||
* read.c (scm_read_sexp): Remove extraneous semi-colon at
|
* read.c (scm_read_sexp): Remove extraneous semi-colon at
|
||||||
|
|
|
@ -18,7 +18,12 @@ INTQUAL (l|L|ll|LL|lL|Ll|u|U)
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.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 yylex(void);
|
||||||
|
|
||||||
int yyget_lineno (void);
|
int yyget_lineno (void);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue