[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#6534) bad ifdef/elif clause in liblutil



quanah@zimbra.com writes:
> Actually, the issue seems to be name changes in the header files under BSD. 
> This causes TIOCNOTTY to end up being undefined.

That would not give the error message shown in
<http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg776021.html>:

build/buildd-openldap_2.4.21-1-kfreebsd-amd64-VWAqZY/openldap-2.4.21/libraries/liblutil/detach.c:131:7:
 error: missing binary operator before token "long"

Line 131 is "#elif TIOCNOTTY".  There's no 'long' there is TIOCNOTTY is
undefined, it'd just evaluate to #elif 0.  So my guess is that TIOCNOTTY
somewhere is defined to expand to an expression involving a (long) cast.

-- 
Hallvard