You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by Motl <mo...@orcsoftware.com> on 2007/01/18 11:44:53 UTC

activemq-cpp compilation warnings

Hi, 

Why isn't actviemq-cpp compiled with '-W -Wall' options? It's very useful,
because default warning level for gcc is quite low. 

The problem is that while compiling code that uses cms/* headers  with -W
-Wall, number of warnings appears like that:

./activemq/exceptions/ActiveMQException.h: In copy constructor
`activemq::exceptions::ActiveMQException::ActiveMQException(const
activemq::exceptions::ActiveMQException&)':
./activemq/exceptions/ActiveMQException.h:55: warning: base class `class
cms::CMSException' should be explicitly initialized in the copy constructor

and it's quite annoying. 

Could it be fixed in 1.1 release - there is no big work here.

Thanks.
-- 
View this message in context: http://www.nabble.com/activemq-cpp-compilation-warnings-tf3033440.html#a8428456
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.


Re: activemq-cpp compilation warnings

Posted by Nathan Mittler <na...@gmail.com>.
At this point, the vote for 1.1 has already gone to the incubator PMC, so
unfortunately it's to late to get it into 1.1.

Why don't you capture that in an issue targeted for 2.0
http://issues.apache.org/activemq/browse/AMQCPP

... if there are enough issues, we may cut an patched 1.1.1 release before
going to 2.0.

Regards,
Nate

On 1/18/07, Motl <mo...@orcsoftware.com> wrote:
>
>
> Hi,
>
> Why isn't actviemq-cpp compiled with '-W -Wall' options? It's very useful,
> because default warning level for gcc is quite low.
>
> The problem is that while compiling code that uses cms/* headers  with -W
> -Wall, number of warnings appears like that:
>
> ./activemq/exceptions/ActiveMQException.h: In copy constructor
> `activemq::exceptions::ActiveMQException::ActiveMQException(const
> activemq::exceptions::ActiveMQException&)':
> ./activemq/exceptions/ActiveMQException.h:55: warning: base class `class
> cms::CMSException' should be explicitly initialized in the copy
> constructor
>
> and it's quite annoying.
>
> Could it be fixed in 1.1 release - there is no big work here.
>
> Thanks.
> --
> View this message in context:
> http://www.nabble.com/activemq-cpp-compilation-warnings-tf3033440.html#a8428456
> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>
>