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

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



quanah@zimbra.com writes:
>>> 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.
>>
>> Apprently so.
>>
>> <http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg785259.
>> html>
> 
> Fixed by debian.

Which is nice, but doesn't help with older debian versions.
I don't see what's wrong with changing our #elif to #elif defined
like you originally suggested, though I remember there was some
confused #elif discussion earlier.

-- 
Hallvard