From 585ef2eb20f2782c95f28fd84f5855763a5f34f4 Mon Sep 17 00:00:00 2001 From: "Joel E. Denny" Date: Sat, 10 Apr 2010 17:37:27 -0400 Subject: [PATCH] tests: fix for newer Sun Studio C++. Reported by Dagobert Michelsen at . * THANKS (Dagobert Michelsen): Add. * configure.ac (AC_PREREQ): Set to 2.64 so we get the latest Autoconf macro for handling the restrict keyword. * gnulib: Update to latest, which no longer overrides that macro from Autoconf. (cherry picked from commit 4333ba11c65f428040d54820b6d4c6aa663944d2) --- ChangeLog | 11 +++++++++++ THANKS | 1 + configure.ac | 6 ++++-- gnulib | 2 +- 4 files changed, 17 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 974b7bf7..ef245a66 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2010-04-10 Joel E. Denny + + tests: fix for newer Sun Studio C++. + Reported by Dagobert Michelsen at + . + * THANKS (Dagobert Michelsen): Add. + * configure.ac (AC_PREREQ): Set to 2.64 so we get the latest + Autoconf macro for handling the restrict keyword. + * gnulib: Update to latest, which no longer overrides that macro + from Autoconf. + 2010-04-03 Joel E. Denny portability: fix pointer arithmetic to conform to C standard. diff --git a/THANKS b/THANKS index 6a287139..6efa2efa 100644 --- a/THANKS +++ b/THANKS @@ -24,6 +24,7 @@ Christian Burger cburger@sunysb.edu Cris Bailiff c.bailiff+bison@awayweb.com Cris van Pelt cris@amf03054.office.wxs.nl Csaba Raduly csaba_22@yahoo.co.uk +Dagobert Michelsen dam@baltic-online.de Daniel Hagerty hag@gnu.org David J. MacKenzie djm@gnu.org Derek M. Jones derek@knosof.co.uk diff --git a/configure.ac b/configure.ac index 0d8fc488..710453b0 100644 --- a/configure.ac +++ b/configure.ac @@ -15,8 +15,10 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -# We have strange test case titles, so we need Autoconf 2.61 or better. -AC_PREREQ(2.61) +# In order for some versions of Sun Studio to compile our C++ test cases +# correctly, we need Autoconf 2.64 or better to handle the restrict +# keyword in at least string.h from gnulib. +AC_PREREQ(2.64) AC_INIT([GNU Bison], m4_esyscmd([build-aux/git-version-gen .tarball-version]), diff --git a/gnulib b/gnulib index 7bacd338..1778ee9e 160000 --- a/gnulib +++ b/gnulib @@ -1 +1 @@ -Subproject commit 7bacd338464a463f3ba0c14effd86b71ce3672b4 +Subproject commit 1778ee9e7d0e150a37db66a0e51c1a56755aab4f -- 2.45.2