[Date Prev][Date Next]
Re: (ITS#6534) bad ifdef/elif clause in liblutil
--On Friday, April 30, 2010 1:23 PM +0000 firstname.lastname@example.org wrote:
> email@example.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
> aries/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.
Principal Software Engineer
Zimbra :: the leader in open source messaging and collaboration