magickangaroo / pyactivemq

Automatically exported from code.google.com/p/pyactivemq
Apache License 2.0
0 stars 0 forks source link

pyactivemq 0.2.0 compilation error looser throw specifier for ‘virtual void MessageListenerWrap #40

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
OS Ubuntu 10.04 on VirtualBox
pyactivemq 0.2.0 in the trunck
ActiveMQ-cpp-3.4.1

When I compile pyactivemq I ve a error :
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for 
Ada/C/ObjC but not for C++
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
-Wstrict-prototypes -fPIC -DBOOST_PYTHON_NO_PY_SIGNATURES=1 
-DPYACTIVEMQ_ENABLE_DOCSTRINGS=0 
-I/opt/activemq-cpp/03_04_01/include/activemq-cpp-3.4.1 
-I/usr/include/python2.6 -c src/main/MessageListener.cpp -o 
build/temp.linux-x86_64-2.6/src/main/MessageListener.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for 
Ada/C/ObjC but not for C++
src/main/MessageListener.cpp:51: error: looser throw specifier for ‘virtual 
void MessageListenerWrap::onMessage(const cms::Message*)’
/opt/activemq-cpp/03_04_01/include/activemq-cpp-3.4.1/cms/MessageListener.h:55: 
error:   overriding ‘virtual void cms::MessageListener::onMessage(const 
cms::Message*) throw ()’
error: command 'gcc' failed with exit status 1

Original issue reported on code.google.com by gennao.c...@gmail.com on 23 Feb 2012 at 3:16