Go to the documentation of this file.
17 #ifndef MIR_DEPRECATIONS_H_
18 #define MIR_DEPRECATIONS_H_
20 #ifndef MIR_ENABLE_DEPRECATIONS
22 #if defined(__clang__) || !defined(__GNUC__) || (__GNUC__ >= 6)
23 #define MIR_ENABLE_DEPRECATIONS 1
25 #define MIR_ENABLE_DEPRECATIONS 0
29 #if MIR_ENABLE_DEPRECATIONS > 0
30 #define MIR_FOR_REMOVAL_IN_VERSION_1(message)\
31 __attribute__((deprecated(message)))
33 #define MIR_FOR_REMOVAL_IN_VERSION_1(message)
Copyright © 2012-2021
Canonical Ltd.
Generated on Mon May 10 10:15:00 UTC 2021
This documentation is licensed under the GPL version 2 or 3.