[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: konsole w/ --enable-final
From:       Lars Doelle <lars.doelle () on-line ! de>
Date:       2000-09-27 13:33:10
[Download RAW message or body]

On Tue, 26 Sep 2000, Werner Trobin wrote:
> Hi!
>
> Currently konsole breaks with --enable-final because
> TEPty.C #defines _XOPEN_SOURCE (for grantpt() and Cie.)
> before #including stdlib.h.
> Of course there are other places (before) where this
> file is included and therefore defining that symbol in
> this file doesn't really help ;)
>
> My "fix" would be to copy this #if foo #define stuff
> to every place stdlib gets included, but I'm sure
> there's a better solution.
>
> Coolo? Michael?

stdlib.h is relativly strange with respect to the pty stuff.

I can offer to remove _XOPEN_SOURCE and put the three function headers in 
literally, which would be ok, since they are protected by configure. I'd be 
more happy if there'd be any other solution.

Lars

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic