You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-user@logging.apache.org by Bernd Prager <be...@prager.ws> on 2008/02/12 19:16:34 UTC
declaration of fwide is missing
Hi,
Trying to compile revision 620889 with g++ (GCC) 4.2.3 on cygwin
CYGWIN_NT-5.1 1.5.25(0.156/4/2) gives me the error message:
systemerrwriter.cpp: In static member function 'static bool
log4cxx::helpers::SystemErrWriter::isWide()':
systemerrwriter.cpp:55: error: 'fwide' was not declared in this scope
Any suggestions or chance to fix it?
Thanks a lot,
-- Bernd Prager
Re: declaration of fwide is missing
Posted by Curt Arnold <ca...@apache.org>.
On Feb 12, 2008, at 12:16 PM, Bernd Prager wrote:
> Hi,
>
> Trying to compile revision 620889 with g++ (GCC) 4.2.3 on cygwin
> CYGWIN_NT-5.1 1.5.25(0.156/4/2) gives me the error message:
>
> systemerrwriter.cpp: In static member function 'static bool
> log4cxx::helpers::SystemErrWriter::isWide()':
> systemerrwriter.cpp:55: error: 'fwide' was not declared in this scope
>
>
> Any suggestions or chance to fix it?
>
> Thanks a lot,
> -- Bernd Prager
>
Update to rev 627193 and see if that fixes the problems. I added a
test in configure.in to check for the presence of fwide() and
appropriately stubbed parts of asyncappender and condition if
APR_HAS_THREADS is 0. Was able to do "make" and "make check" without
complaint with Cygwin using the autotools build after making those
changes. Haven't tried Ant build yet.