It is not a compiler directive that is at the root cause of this error message 
as it is persistent.

It is not the gcc compiler version (gcc (GCC) 4.1.2 20080704 (Red Hat 
4.1.2-55)).

When I do a "make -k" I see a large number of warnings, granted most have to do 
with the generation of documents.

The following error repeats and is preventing the build from completing.

/home/pflores/shop/qpid-proton-0.12.0/proton-c/bindings/cpp/include/proton/container.hpp:129:
 error: declaration of ‘void proton::container::link_options(const 
proton::link_options&)’
/home/pflores/shop/qpid-proton-0.12.0/proton-c/bindings/cpp/include/proton/link_options.hpp:60:
 error: changes meaning of ‘link_options’ from ‘class proton::link_options’
make[2]: *** 
[proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/acceptor.cpp.o] Error 
1

Can any one shed some light on how to resolve this issue or what could be 
related or any other area I should be examining?

Thank you.

Paul
________________________________________
From: TRUFANOW Alexandre [alexandre.trufa...@murex.com]
Sent: Thursday, February 25, 2016 4:08 AM
To: users@qpid.apache.org
Subject: Re: Help -> QPID Proton 12.0 build error!

If you want to disable the c++ binding, you can use the cmake flag
-DBUILD_CPP=FALSE.

Alexandre

On mer., 2016-02-24 at 22:11 +0000, Robbie Gemmell wrote:
> I'd expected the error message and context (older OS/compiler) being
> the same might make it applicable.
>
> Its building the C++ binding because you have the necessary
> dependencies, and like the other bindings its part of the install
> unless configured otherwise. I know little about cmake or the C++
> binding, so if the other thread can't aid you in getting it building
> I'll have to defer to the folks who do this stuff on how to disable
> it.
>
> Robbie
>
> On 24 February 2016 at 21:55, Flores, Paul A. <paul.a.flo...@saic.com> wrote:
> > Interesting but not applicable.
> >
> > Looking for a which cmake file may be the culprit in determining that it 
> > needs to make the library in question.  Can someone point me to the 
> > particular cmake that I may need to address?  Looking as I send this out 
> > but cmake process not that "transparent" and have a sprint with a 
> > dependency on demoing the dispatcher.
> >
> > ________________________________________
> > From: Robbie Gemmell [robbie.gemm...@gmail.com]
> > Sent: Wednesday, February 24, 2016 3:45 PM
> > To: users@qpid.apache.org
> > Subject: Re: Help -> QPID Proton 12.0 build error!
> >
> > There was a recent thread that seems similar, might get some hints from it:
> >
> > http://qpid.2158936.n2.nabble.com/Error-compiling-proton-C-binding-0-12-with-GCC-3-4-td7638637.html
> >
> > Robbie
> >
> > On 24 February 2016 at 20:49, Flores, Paul A. <paul.a.flo...@saic.com> 
> > wrote:
> >> Seeing the following error building during the 'make" of 
> >> qpid-proton-0.12.0.
> >>
> >>
> >>
> >> Assistance or insights would be helpful!
> >>
> >>
> >>
> >> [ 33%] Building CXX object 
> >> proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/acceptor.cpp.o
> >> /home/pflores/shop/qpid-proton-0.12.0/proton-c/bindings/cpp/include/proton/container.hpp:129:
> >>  error: declaration of ‘void proton::container::link_options(const 
> >> proton::link_options&)’
> >> /home/pflores/shop/qpid-proton-0.12.0/proton-c/bindings/cpp/include/proton/link_options.hpp:60:
> >>  error: changes meaning of ‘link_options’ from ‘class proton::link_options’
> >> make[2]: *** 
> >> [proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/acceptor.cpp.o] 
> >> Error 1
> >> make[1]: *** [proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/all] 
> >> Error 2
> >> make: *** [all] Error 2
> >>
> >> Centos 5.11
> >>
> >> gcc version 4.1.2 20080704 (Red Hat 4.1.2-55)
> >>
> >> x86_64-redhat-linux
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
> > For additional commands, e-mail: users-h...@qpid.apache.org
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
> > For additional commands, e-mail: users-h...@qpid.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
> For additional commands, e-mail: users-h...@qpid.apache.org
>

*******************************

This e-mail contains information for the intended recipient only. It may 
contain proprietary material or confidential information. If you are not the 
intended recipient you are not authorised to distribute, copy or use this 
e-mail or any attachment to it. Murex cannot guarantee that it is virus free 
and accepts no responsibility for any loss or damage arising from its use. If 
you have received this e-mail in error please notify immediately the sender and 
delete the original email received, any attachments and all copies from your 
system.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org

Reply via email to