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

List:       kde-devel
Subject:    Re: kdebase/kioslave/sftp compile failure on Solaris
From:       Lucas Fisher <ljfisher () iastate ! edu>
Date:       2001-08-30 2:03:15
[Download RAW message or body]

I should just rename it.  It wasn't wise of me to name it something already
commonly defined.

Lucas

Rob Napier wrote:
> 
> Interesting problem.... :)
> 
> kdebase/kioslave/sftp/process.h defines the following method:
> 
>     int stderr() {return m_err;}
> 
> But, process.cpp also includes stdio.h, which #define's stderr as
> either (&__iob[2]) or (&_iob[2]), so the preprocessor jumps in, and
> turns this into nonsense (and a syntax error).
> 
> Not sure what to do here. Can we rename it something other than
> stderr? I've had some luck undef'ing stderr, but that's not a stable
> solution.
> 
> Rob
> 
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

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

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