bison-patches
[Top][All Lists]
Advanced

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

Re: Bison 1.50: SunOS 4.1.4, Problems and Hack for lib/timevar.c


From: Paul Eggert
Subject: Re: Bison 1.50: SunOS 4.1.4, Problems and Hack for lib/timevar.c
Date: Fri, 18 Oct 2002 18:11:53 -0700 (PDT)

> Date: Tue, 15 Oct 2002 22:41:32 +0200
> From: Peter Klein <address@hidden>
> 
> ## --------------------------- ##
> ## GNU Bison 1.50a test suite. ##
> ## --------------------------- ##
> 61. calc.at:480: testing Calculator %glr_parser ...
> calc.at:480: bison -o calc.c   calc.y
> calc.at:480: $CC $CFLAGS $CPPFLAGS calc.c -o calc
> stderr:
> /usr/tmp/ccEszR6i.o: In function `yysplitStack':
> /speedy/data/OS/SunOS/4.1.4/sw/gnu/bison-1.75/tests/testsuite.dir/61/calc.c:1192:
>  undefined reference to `rpl_realloc'

Thanks for that part of your bug report.  I installed the following
patch for this problem, and it should appear in Bison 1.875 whenever
it comes out.

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

        * tests/calc.at (_AT_DATA_CALC_Y): #undef memcmp and realloc.
        * tests/conflicts.at (%nonassoc and eof): Likewise.
        Fixes SunOS 4.1.4 test failure reported by Peter Klein.

Index: tests/calc.at
===================================================================
RCS file: /cvsroot/bison/bison/tests/calc.at,v
retrieving revision 1.31
diff -p -u -r1.31 calc.at
--- tests/calc.at       14 Oct 2002 08:43:36 -0000      1.31
+++ tests/calc.at       19 Oct 2002 01:08:42 -0000
@@ -40,8 +40,10 @@ AT_DATA([calc.y],
 
 %{
 #include <config.h>
-/* We don't need a perfect malloc for these tests. */
+/* We don't need perfect functions for these tests. */
 #undef malloc
+#undef memcmp
+#undef realloc
 #include <stdio.h>
 
 #if STDC_HEADERS
Index: tests/conflicts.at
===================================================================
RCS file: /cvsroot/bison/bison/tests/conflicts.at,v
retrieving revision 1.18
diff -p -u -r1.18 conflicts.at
--- tests/conflicts.at  14 Oct 2002 08:43:36 -0000      1.18
+++ tests/conflicts.at  19 Oct 2002 01:08:42 -0000
@@ -54,8 +54,10 @@ AT_DATA([input.y],
 [[
 %{
 #include <config.h>
-/* We don't need a perfect malloc for these tests. */
+/* We don't need perfect functions for these tests. */
 #undef malloc
+#undef memcmp
+#undef realloc
 #include <stdio.h>
 
 #if STDC_HEADERS




reply via email to

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