Curt Arnold-3 wrote:
> 
> 
> Or possibly the calling convention  
> (LOG4CXX_THREAD_FUNC in log4cxx/thread.h) is slightly different than  
> in the APR header.
> 
> Don't have that MinGW environment handy, so can't give you a quick  
> workaround.
> 
> 

The above is the reason why its happening, quick and dirty work around is 
to remove the following set of lines from thread.h, that will get you going:

#if !defined(LOG4CXX_THREAD_FUNC)
#if defined(_WIN32)
#define LOG4CXX_THREAD_FUNC __stdcall
#else
#define LOG4CXX_THREAD_FUNC
#endif
#endif


and add this instead:

#if !defined(LOG4CXX_THREAD_FUNC)
#define LOG4CXX_THREAD_FUNC
#endif


P.S: Sorry, no time to mess around with diff :)

-- 
View this message in context: 
http://www.nabble.com/problems-with-building-log4cxx-0-10.0.-in-threadcxx.cpp-tp18000912p18241817.html
Sent from the Log4cxx - Users mailing list archive at Nabble.com.

Reply via email to