Peter Klein <[EMAIL PROTECTED]> 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
