Export to GitHub

pyactivemq - issue #40

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


Posted on Feb 23, 2012 by Happy Elephant

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

Status: New

Labels:
Type-Defect Priority-Medium