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

Rafael H. Schloming resolved PROTON-524.
----------------------------------------

    Resolution: Fixed

I'm assuming this is fixed now given the commit log. Please reopen if there is 
further work.

> [proton-c] C++ build fails on Centos6
> -------------------------------------
>
>                 Key: PROTON-524
>                 URL: https://issues.apache.org/jira/browse/PROTON-524
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>    Affects Versions: 0.6
>         Environment: Centos 6
>            Reporter: Ken Giusti
>             Fix For: 0.7
>
>
> The code generated by SWIG (1.3.40) fails to compile as C++ 
> (-DBUILD_WITH_CXX=ON):
> [ 75%] Building CXX object 
> proton-c/bindings/python/CMakeFiles/_cproton.dir/pythonPYTHON_wrap.cxx.o
> /home/kgiusti/work/proton/build/proton-c/bindings/python/pythonPYTHON_wrap.cxx:
>  In function ‘PyObject* _wrap_pn_iterator_next_t(PyObject*, PyObject*)’:
> /home/kgiusti/work/proton/build/proton-c/bindings/python/pythonPYTHON_wrap.cxx:8125:
>  error: invalid cast to function type ‘void*(void*)’
> /home/kgiusti/work/proton/build/proton-c/bindings/python/pythonPYTHON_wrap.cxx:
>  In function ‘PyObject* _wrap_pn_tracer_t(PyObject*, PyObject*)’:
> /home/kgiusti/work/proton/build/proton-c/bindings/python/pythonPYTHON_wrap.cxx:8705:
>  error: functional cast expression list treated as compound expression
> /home/kgiusti/work/proton/build/proton-c/bindings/python/pythonPYTHON_wrap.cxx:8705:
>  error: invalid cast to function type ‘void(pn_transport_t*, const char*)’
> /home/kgiusti/work/proton/build/proton-c/bindings/python/pythonPYTHON_wrap.cxx:
>  In function ‘PyObject* _wrap_pn_transport_get_tracer(PyObject*, PyObject*)’:
> /home/kgiusti/work/proton/build/proton-c/bindings/python/pythonPYTHON_wrap.cxx:10328:
>  error: invalid static_cast from type ‘void (*)(pn_transport_t*, const 
> char*)’ to type ‘const void*’
> make[2]: *** 
> [proton-c/bindings/python/CMakeFiles/_cproton.dir/pythonPYTHON_wrap.cxx.o] 
> Error 1
> make[1]: *** [proton-c/bindings/python/CMakeFiles/_cproton.dir/all] Error 2



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to