bison-patches
[Top][All Lists]
Advanced

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

[PATCH] Pacify ./configure --enable-gcc-warnings.


From: Joel E. Denny
Subject: [PATCH] Pacify ./configure --enable-gcc-warnings.
Date: Fri, 3 Apr 2009 00:37:04 -0400 (EDT)

I pushed this to master.

>From e021191bcff8eb388627a9b647b2f693490f1f8f Mon Sep 17 00:00:00 2001
From: Joel E. Denny <address@hidden>
Date: Fri, 3 Apr 2009 00:32:27 -0400
Subject: [PATCH] Pacify ./configure --enable-gcc-warnings.

* Makefile.am (AM_CFLAGS): Remove $(WERROR_CFLAGS) because many files
in lib won't compile with it.
* src/local.mk (src_bison_CFLAGS): Use $(WERROR_CFLAGS) here only.

diff --git a/ChangeLog b/ChangeLog
index 86f1d91..d838b48 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-04-03  Joel E. Denny  <address@hidden>
+
+       Pacify ./configure --enable-gcc-warnings.
+       * Makefile.am (AM_CFLAGS): Remove $(WERROR_CFLAGS) because many files
+       in lib won't compile with it.
+       * src/local.mk (src_bison_CFLAGS): Use $(WERROR_CFLAGS) here only.
+
 2009-03-31  Akim Demaille  <address@hidden>
 
        bootstrap: --help to stdout.
@@ -23219,8 +23226,8 @@
        -----
 
        Copyright (C) 1987, 1988, 1991, 1992, 1993, 1994, 1995, 1996,
-       1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
-       Free Software Foundation, Inc.
+       1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
+       2008, 2009 Free Software Foundation, Inc.
 
        Copying and distribution of this file, with or without
        modification, are permitted provided the copyright notice and this
diff --git a/Makefile.am b/Makefile.am
index ae42492..e1c8506 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -31,7 +31,7 @@ EXTRA_DIST = .prev-version .version \
   OChangeLog PACKAGING
 
 # Initialization before completion by local.mk's.
-AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
+AM_CFLAGS = $(WARN_CFLAGS)
 AM_CPPFLAGS =
 BUILT_SOURCES =
 DISTCLEANFILES =
diff --git a/src/local.mk b/src/local.mk
index 6d94330..111f16e 100644
--- a/src/local.mk
+++ b/src/local.mk
@@ -31,6 +31,7 @@ bin_PROGRAMS = src/bison
 bin_SCRIPTS = $(YACC_SCRIPT)
 EXTRA_SCRIPTS = src/yacc
 
+src_bison_CFLAGS = $(AM_CFLAGS) $(WERROR_CFLAGS)
 src_bison_SOURCES =                            \
   src/LR0.c                                    \
   src/LR0.h                                    \
-- 
1.5.4.3





reply via email to

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