bison-patches
[Top][All Lists]
Advanced

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

Re: bison 1.875 variable vs. function name clash: accept


From: Paul Eggert
Subject: Re: bison 1.875 variable vs. function name clash: accept
Date: 16 May 2003 23:04:22 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Jonathan Ward <address@hidden> writes:

> accept() is defined in libc on most OSes,

Sure, but generally it's a weak symbol, so if the user's program
defines 'accept' the user's definition wins.  This is required for
conformance to the C Standard, as I mentioned in my previous message.
Why isn't this working for you in your environment?  Perhaps if you
try compiling my little test program we can find out why.

Other people have built Bison for HP-UX 11.00 and 11.20; see
<http://hpux.connect.org.uk/hppd/hpux/Gnu/bison-1.875/>.  So perhaps
this problem depends on HP-UX version.  What HP-UX version are you
using?




reply via email to

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