You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by lano1106 <ol...@streamtheworld.com> on 2007/12/18 19:40:15 UTC

Bug in activemq-cpp-2.1.3-src/src/examples/main.cpp

The code incorrectly assumes that <iostream> will include <stdio.h>
underneath.

I have compiled ActiveQ with GCC and STLPort and printf() declaration was
missing.

You should add

#include <stdio.h>

in the header file list.

Greetings,
Olivier Langlois
http://www.olivierlanglois.net
http://blog.olivierlanglois.net

-- 
View this message in context: http://www.nabble.com/Bug-in-activemq-cpp-2.1.3-src-src-examples-main.cpp-tp14402999s2354p14402999.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.


Re: Bug in activemq-cpp-2.1.3-src/src/examples/main.cpp

Posted by lano1106 <ol...@streamtheworld.com>.
stdio.h is also missing in

activemq-cpp-2.1.3-src/src/examples/consumers/SimpleAsyncConsumer.cpp
activemq-cpp-2.1.3-src/src/examples/producers/SimpleProducer.cpp

Greetings,
Olivier Langlois
http://www.olivierlanglois.net
http://blog.olivierlanglois.net

-- 
View this message in context: http://www.nabble.com/Bug-in-activemq-cpp-2.1.3-src-src-examples-main.cpp-tp14402999s2354p14403291.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.