[PyKDE] A (minor) patch for sip-xxx-snapshot-20030504

Phil Thompson phil at riverbankcomputing.co.uk
Fri May 16 11:13:00 BST 2003


On Thursday 15 May 2003 5:22 pm, Ulrich Berning wrote:
> Hi all,
>
> the attached patch eleminates two minor problems:
>
> The IBM C compiler fo AIX does not like C++ comments in C files. In
> siplib/siplib.c are some C++ comments.

Thanks.

> Visual C++ on Windows can not find the include file 'unistd.h' (at least
> on my installation) . The include file is referenced in sipgen/lexer.c.
> The current sip snapshot has the following lines in lexer.c
>
> #ifndef YY_ALWAYS_INTERACTIVE
> #ifndef YY_NEVER_INTERACTIVE
> #include<unistd.h>
> #endif
> #endif
>
> where version 3.6 has has the following lines in lexer.c
>
> #ifndef YY_ALWAYS_INTERACTIVE
> #ifndef YY_NEVER_INTERACTIVE
> extern int isatty YY_PROTO(( int ));
> #endif
> #endif

This appears to be a bug in flex in Suse 8.1. Tonight's snapshot should be Ok.

Phil




More information about the PyQt mailing list