Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
None
Description
Once PROTON-225 is implemented, we should eventually remove the old interfaces after marking them deprecated.
Example:
#ifdef _GNUC_
#define DEPRECATED(func) func _attribute_ ((deprecated))
#elif defined(_MSC_VER)
#define DEPRECATED(func) __declspec(deprecated) func
#else
#pragma message("WARNING: You need to implement DEPRECATED for this compiler")
#define DEPRECATED(func) func
#endif
Attachments
Issue Links
- is a clone of
-
PROTON-241 proton-c: mark old transport interfaces 'deprecated'
- Closed
- is cloned by
-
PROTON-1599 Add deprecation warnings to the C API
- Open
- links to