bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bison no longer builds with K&R C.


From: Paul Eggert
Subject: Bison no longer builds with K&R C.
Date: Tue, 15 Oct 2002 18:42:16 -0700 (PDT)

> Date: Tue, 15 Oct 2002 22:35:53 +0200
> From: Peter Klein <address@hidden>

> But SunOS cc fails. After the third error I gave up.

Thanks for trying it and for sending me the (voluminous) log.

I doubt whether it's worth your time or mine to debug this, so I
propose that we officially discontinue support for building Bison with
K&R C.  Here is a proposed (and untested patch) for discussion; if
there's no disagreement, I'll test and install it.

2002-10-16  Paul Eggert  <address@hidden>

        * NEWS: Officially drop support for building Bison with K&R C,
        since it didn't work anyway and it's not worth worrying about.
        * Makefile.maint (wget_files): Remove ansi2knr.c.
        (ansi2knr.c-url_prefix): Remove.
        * .cvsignore: Remove ansi2knr, ansi2knr.*.
        * lib/Makefile.am (AUTOMAKE_OPTIONS): Remove.
        * src/Makefile.am (AUTOMAKE_OPTIONS): Remove.

Index: NEWS
===================================================================
RCS file: /cvsroot/bison/bison/NEWS,v
retrieving revision 1.63
diff -p -u -r1.63 NEWS
--- NEWS        14 Oct 2002 16:29:41 -0000      1.63
+++ NEWS        16 Oct 2002 01:36:44 -0000
@@ -1,6 +1,13 @@
 Bison News
 ----------
 
+Changes in version 1.75a:
+
+* Bison can no longer be built by a K&R C compiler; it requires C89 or
+  later to be built.  This change originally took place a few versions
+  ago, but nobody noticed until we recently asked someone to try
+  building Bison with a K&R C compiler.
+
 Changes in version 1.75:
 
 * Bison should now work on 64-bit hosts.
Index: Makefile.maint
===================================================================
RCS file: /cvsroot/bison/bison/Makefile.maint,v
retrieving revision 1.8
diff -p -u -r1.8 Makefile.maint
--- Makefile.maint      13 Oct 2002 19:39:29 -0000      1.8
+++ Makefile.maint      16 Oct 2002 01:36:43 -0000
@@ -81,14 +81,11 @@ po-update:
 # with each of the files that belongs to some other package and is
 # regularly updated from the specified URL.
 wget_files ?= $(srcdir)/config.guess $(srcdir)/config.sub \
-              $(srcdir)/src/ansi2knr.c \
              $(srcdir)/doc/texinfo.tex
 wget-targets = $(patsubst %, get-%, $(wget_files))
 
 config.guess-url_prefix = $(ftp-gnu)/config/
 config.sub-url_prefix = $(ftp-gnu)/config/
-
-ansi2knr.c-url_prefix = ftp://ftp.cs.wisc.edu/ghost/
 
 texinfo.tex-url_prefix = $(ftp-gnu)/texinfo/
 
Index: lib/.cvsignore
===================================================================
RCS file: /cvsroot/bison/bison/lib/.cvsignore,v
retrieving revision 1.6
diff -p -u -r1.6 .cvsignore
--- lib/.cvsignore      18 Oct 2001 15:27:30 -0000      1.6
+++ lib/.cvsignore      16 Oct 2002 01:36:44 -0000
@@ -1,5 +1,4 @@
 *_.c
 .deps
 Makefile
-ansi2knr ansi2knr.*
 Makefile.in
Index: lib/Makefile.am
===================================================================
RCS file: /cvsroot/bison/bison/lib/Makefile.am,v
retrieving revision 1.31
diff -p -u -r1.31 Makefile.am
--- lib/Makefile.am     5 Oct 2002 04:53:54 -0000       1.31
+++ lib/Makefile.am     16 Oct 2002 01:36:44 -0000
@@ -15,8 +15,6 @@
 ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
 ## 02111-1307  USA
 
-AUTOMAKE_OPTIONS = ansi2knr
-
 AM_CFLAGS = $(WARNING_CFLAGS)
 
 noinst_LIBRARIES = libbison.a
Index: src/Makefile.am
===================================================================
RCS file: /cvsroot/bison/bison/src/Makefile.am,v
retrieving revision 1.53
diff -p -u -r1.53 Makefile.am
--- src/Makefile.am     5 Oct 2002 04:54:54 -0000       1.53
+++ src/Makefile.am     16 Oct 2002 01:36:45 -0000
@@ -15,8 +15,6 @@
 ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
 ## 02111-1307  USA
 
-AUTOMAKE_OPTIONS = ../lib/ansi2knr
-
 DEFS = @DEFS@ \
   -DPKGDATADIR=\"$(pkgdatadir)\" \
   -DLOCALEDIR=\"$(datadir)/locale\"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]