[OpenSIPS-Devel] [opensips] lex.yy.c missing unistd.h for isatty definition with flex 2.5.37 (#443)

Eric Tamme notifications at github.com
Mon Mar 30 20:13:48 CEST 2015


lex.yy.c is generated without a include for unistd.h, which defines isatty.

    Compiling lex.yy.c
    lex.yy.c: In function ‘yy_init_buffer’:
    lex.yy.c:4154:9: warning: implicit declaration of function ‘isatty’ [-Wimplicit-function-declaration]
             b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
             ^


---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/443
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20150330/428dc823/attachment.htm>


More information about the Devel mailing list