bug-bison
[Top][All Lists]
Advanced

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

Small portability bug in bison 1.49b


From: Tom Lane
Subject: Small portability bug in bison 1.49b
Date: Sun, 22 Sep 2002 17:23:58 -0400

To build bison 1.49b on HPUX 10.20, I found I had to add 
        #include <sys/fcntl.h>
in lib/tempname.c --- otherwise I get

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../lib    -g -O2  -c `test -f 
'tempname.c' || echo './'`tempname.c
tempname.c: In function `__gen_tempname':
tempname.c:297: `O_RDWR' undeclared (first use in this function)
tempname.c:297: (Each undeclared identifier is reported only once
tempname.c:297: for each function it appears in.)
tempname.c:297: `O_CREAT' undeclared (first use in this function)
tempname.c:297: `O_EXCL' undeclared (first use in this function)

                        regards, tom lane




reply via email to

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