diff options
Diffstat (limited to 'qpid/cpp/include/qmf/exceptions.h')
| -rw-r--r-- | qpid/cpp/include/qmf/exceptions.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qpid/cpp/include/qmf/exceptions.h b/qpid/cpp/include/qmf/exceptions.h index c7ffa68ce2..1a2e5dd2e8 100644 --- a/qpid/cpp/include/qmf/exceptions.h +++ b/qpid/cpp/include/qmf/exceptions.h @@ -22,6 +22,11 @@ * */ +#if !defined(QMF_USE_DEPRECATED_API) && !defined(qmf2_EXPORTS) && !defined(SWIG) +# error "The API defined in this file has been DEPRECATED and will be removed in the future." +# error "Define 'QMF_USE_DEPRECATED_API' to enable continued use of the API." +#endif + #include "qmf/ImportExport.h" #include "qpid/types/Exception.h" #include "qpid/types/Variant.h" |
