jim yefeng created QPID-4723:
--------------------------------
Summary: Compile qmf-agent failed on qpid-0.20
Key: QPID-4723
URL: https://issues.apache.org/jira/browse/QPID-4723
Project: Qpid
Issue Type: Bug
Components: C++ Broker
Affects Versions: 0.20
Environment: centos 6.3 x86_64
Reporter: jim yefeng
Priority: Blocker
[jim@dev-1 examples]$ cd qmf-agent/
[jim@dev-1 qmf-agent]$ ls
example.cpp example.d example_gen.mak gen Makefile qmf_agent.vcproj
schema.xml
[jim@dev-1 qmf-agent]$ make
../../../cpp/managementgen/qmf-gen -o ./gen/qmf ./schema.xml
make[1]: Entering directory
`/home/jim/packages/qpid-0.20/cpp/examples/qmf-agent'
make[2]: Entering directory
`/home/jim/packages/qpid-0.20/cpp/examples/qmf-agent'
gcc -c -g -O3 -I. -I../../../cpp/include -I./gen -o example.o example.cpp
example.cpp:71: error: conflicting return type specified for ‘virtual
qpid::management::ManagementObject* CoreClass::GetManagementObject() const’
../../../cpp/include/qpid/management/Manageable.h:58: error: overriding
‘virtual qpid::management::ManagementObject::shared_ptr
qpid::management::Manageable::GetManagementObject() const’
example.cpp:89: error: conflicting return type specified for ‘virtual
qpid::management::ManagementObject* ChildClass::GetManagementObject() const’
../../../cpp/include/qpid/management/Manageable.h:58: error: overriding
‘virtual qpid::management::ManagementObject::shared_ptr
qpid::management::Manageable::GetManagementObject() const’
make[2]: *** [example.o] Error 1
make[2]: Leaving directory `/home/jim/packages/qpid-0.20/cpp/examples/qmf-agent'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/jim/packages/qpid-0.20/cpp/examples/qmf-agent'
make: *** [all] Error 2
[jim@dev-1 qmf-agent]$
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]