Re: bison-generated code causes compilation failure on OpenBSD 4.7

2010-10-07 Thread Eric Blake
On 10/07/2010 03:19 PM, Jim Meyering wrote: Stepping back, malloc shouldn't even be declared here, since this skeleton code has already included stdlib.h. Agreed. This portion of bison output stems back to K&R days, when you couldn't guarantee things like malloc's declaration. But given tha

Re: bison-generated code causes compilation failure on OpenBSD 4.7

2010-10-07 Thread Jim Meyering
Jim Meyering wrote: > Hello, > > On an OpenBSD 4.7 system, building coreutils fails like this: > (noticed in prerelease testing) > > make[2]: Entering directory `/u/guest/meyering/coreutils-8.5.185-0ad44/lib' > CC parse-datetime.o > parse-datetime.c:590: error: conflicting types for