bug-automake
[Top][All Lists]
Advanced

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

bug#11185: flex %option "never-interactive" breaks few tests on Solaris


From: Stefano Lattarini
Subject: bug#11185: flex %option "never-interactive" breaks few tests on Solaris
Date: Mon, 09 Apr 2012 00:12:55 +0200

On 04/06/2012 11:34 PM, Roumen Petrov wrote:
> Hi Stefano,
>
Hi Roumen, sorry for the delay.

> Stefano Lattarini wrote:
>> Severity: minor
>> thanks
>>
>> Hello automakers, Peter.
>>
>> The commit v1.11-2058-g6f4b08d of 06-03-2012, "tests: explicitly state
>> that our lexers do not require unistd.h", has been causing at least
>> the tests 'lex-clean-cxx.test' and 'lex-depend-cxx.test' to break on
>> Solaris, where lex is not flex, and does not understand the directive
>> "%option never-interactive".
>>
>> Any opinion on how to better fix this?  Is defining a dummy 'isatty'
>> function in our C++ sources enough to avoid the failures on MSYS?
> Function isatty is defined in <io.h> .
>
Which doesn't exist on most POSIX systems AFAIK, so trying to include it
would be problematic.

> May be you could define a dummy function.
>
I think this is the best solution, yes.  See my answer to Peter's message.

Regards,
  Stefano





reply via email to

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