[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A few bugs on Bison 2.0 on prtetty old Sun OS 4.1.4
From: |
Paul Eggert |
Subject: |
Re: A few bugs on Bison 2.0 on prtetty old Sun OS 4.1.4 |
Date: |
Tue, 07 Jun 2005 14:43:54 -0700 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux) |
Peter Klein <address@hidden> writes:
> Alternatively you may stop SUN OS 4.1.4 support, which would be
> a terrible bad solution for me!
Thanks for your bug report. Can you please explain why stopping SunOS
4.1.4 support would be bad for you? What applications are you running
on SunOS 4.1.4 that require using Bison 2?
>>patch lib/hash.h:
>>add #include include <stdlib.h> /* to get size_t */
I assume it'd be OK to include <stddef.h> instead. <stddef.h> also
defines size_t, but it's smaller and less intrusive.
>>/*
>>patch src/scan-gram.c: replace
>>strtol -> strtoul
SunOS 4.1.4 has strtoul but not strtol? I thought that SunOS 4.1.4
lacked both strtol and strtoul. If so, why does this fix work for you?
>>#ifdef sunos4
>>static char *
>>private_strerror (int errnum)
Instead of doing this, I'd rather leave the mainstream code alone, and
add the gnulib strerror module (which implements strerror).
http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/gnulib/gnulib/MODULES.html?rev=HEAD&content-type=text/html#module=strerror