-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/15788/
-----------------------------------------------------------
(Updated Nov. 22, 2013, 9:01 p.m.)
Review request for qpid, Andrew Stitcher, Gordon Sim, and Ted Ross.
Changes
-------
Update per Chug's input.
Bugs: qpid-5369
https://issues.apache.org/jira/browse/qpid-5369
Repository: qpid
Description
-------
Causes any application that includes the QMF Agent or Console C++ headers to
issue a compile-time error unless QMF_USE_DEPRECATED_API is defined by the
application.
The compiler error reads:
In file included from
/home/kgiusti/work/qpid/qpid/qpid/cpp/bindings/qmf2/examples/cpp/agent.cpp:22:0:
/home/kgiusti/work/qpid/qpid/qpid/cpp/include/qmf/AgentSession.h:25:4: error:
#error "The API defined in this file has been DEPRECATED and will be removed in
the future."
/home/kgiusti/work/qpid/qpid/qpid/cpp/include/qmf/AgentSession.h:26:4: error:
#error "Define 'QMF_USE_DEPRECATED_API' to disable this error."
Note: I'd like to propose this gets in for 0.26 - if you agree please comment
as such on the JIRA, thanks.
Diffs (updated)
-----
/trunk/qpid/cpp/bindings/qmf2/examples/cpp/agent.cpp 1543123
/trunk/qpid/cpp/bindings/qmf2/examples/cpp/event_driven_list_agents.cpp
1543123
/trunk/qpid/cpp/bindings/qmf2/examples/cpp/list_agents.cpp 1543123
/trunk/qpid/cpp/bindings/qmf2/examples/cpp/print_events.cpp 1543123
/trunk/qpid/cpp/include/qmf/Agent.h 1543123
/trunk/qpid/cpp/include/qmf/AgentEvent.h 1543123
/trunk/qpid/cpp/include/qmf/AgentSession.h 1543123
/trunk/qpid/cpp/include/qmf/ConsoleEvent.h 1543123
/trunk/qpid/cpp/include/qmf/ConsoleSession.h 1543123
/trunk/qpid/cpp/include/qmf/Data.h 1543123
/trunk/qpid/cpp/include/qmf/DataAddr.h 1543123
/trunk/qpid/cpp/include/qmf/Handle.h 1543123
/trunk/qpid/cpp/include/qmf/Query.h 1543123
/trunk/qpid/cpp/include/qmf/Schema.h 1543123
/trunk/qpid/cpp/include/qmf/SchemaId.h 1543123
/trunk/qpid/cpp/include/qmf/SchemaMethod.h 1543123
/trunk/qpid/cpp/include/qmf/SchemaProperty.h 1543123
/trunk/qpid/cpp/include/qmf/SchemaTypes.h 1543123
/trunk/qpid/cpp/include/qmf/Subscription.h 1543123
/trunk/qpid/cpp/include/qmf/exceptions.h 1543123
/trunk/qpid/cpp/include/qmf/posix/EventNotifier.h 1543123
/trunk/qpid/cpp/include/qmf/qmf2.i 1543123
Diff: https://reviews.apache.org/r/15788/diff/
Testing
-------
Tested on windows (VS 2010) and linux (Fedora 18), both with and without
QMF_USE_DEPRECATED_API defined.
Thanks,
Kenneth Giusti