[ 
https://issues.apache.org/jira/browse/LOGCXX-382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thorsten Schöning resolved LOGCXX-382.
--------------------------------------

    Resolution: Fixed

I applied the patch to trunk.

> Mingw build type conversion error
> ---------------------------------
>
>                 Key: LOGCXX-382
>                 URL: https://issues.apache.org/jira/browse/LOGCXX-382
>             Project: Log4cxx
>          Issue Type: Bug
>    Affects Versions: 0.10.0, 0.10.1
>         Environment: Mingw cross compile (static libs).
>            Reporter: Daniel Stonier
>            Assignee: Curt Arnold
>            Priority: Minor
>              Labels: patch
>             Fix For: 0.10.1
>
>         Attachments: log4cxx-4-mingw.definitions.patch
>
>
> threadcxx.cpp: In member function 'void log4cxx::helpers::Thread::run(void* 
> (*)(apr_thread_t*, void*), void*)':
> threadcxx.cpp:76:46: error: invalid conversion from 'void* (*)(apr_thread_t*, 
> void*)' to 'void* (*)(apr_thread_t*, void*)'
> threadcxx.cpp:76:46: error:   initializing argument 3 of 'apr_status_t 
> apr_thread_create(apr_thread_t**, apr_threadattr_t*, void* (*)(apr_thread_t*, 
> void*), void*, apr_pool_t*)'
> make[5]: *** [threadcxx.lo] Error 1
> There is some discussion here: 
> http://www.mail-archive.com/log4cxx-user@logging.apache.org/msg02671.html
> I'm not sure if the patch is exactly what is needed, but it works. Let me 
> know if there's a better approach and I'll modify.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to