Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Continuing fallout from lex? amd64 build still broken
I think the following patch is all this needs - but since this is
definitely not my area of expertise, I'm waiting for confirmation from
Christos.
Index: config_lex.l
===================================================================
RCS file: /cvsroot/src/usr.sbin/envstat/config_lex.l,v
retrieving revision 1.4
diff -u -p -r1.4 config_lex.l
--- config_lex.l 22 Aug 2008 11:27:50 -0000 1.4
+++ config_lex.l 28 Oct 2009 21:40:07 -0000
@@ -38,6 +38,8 @@ __RCSID("$NetBSD: config_lex.l,v 1.4 200
#include "config_yacc.h"
+#define YY_NO_UNPUT
+
extern int yyline;
extern int yyerror(const char *, ...);
int yylex(void);
On Wed, 28 Oct 2009, Paul Goyette wrote:
Updated just moments ago...
--- dependall-usr.sbin ---
/build/netbsd-local/tools/x86_64/amd64/bin/x86_64--netbsd-gcc -O2 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare
-Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow
-Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wsign-compare
-std=gnu99 -Werror -I/build/netbsd-local/src/usr.sbin/envstat -I.
-DYY_NO_INPUT -nostdinc -isystem /build/netbsd-local/dest/amd64/usr/include
-c config_lex.c
cc1: warnings being treated as errors
config_lex.c:1241: warning: 'yyunput' defined but not used
-------------------------------------------------------------------------
| Paul Goyette | PGP DSS Key fingerprint: | E-mail addresses: |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer | | pgoyette at netbsd.org |
-------------------------------------------------------------------------
-------------------------------------------------------------------------
| Paul Goyette | PGP DSS Key fingerprint: | E-mail addresses: |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer | | pgoyette at netbsd.org |
-------------------------------------------------------------------------
Home |
Main Index |
Thread Index |
Old Index