nimble/host : Added new method of marking an api as deprecated.
In the current code, using deprecated api's doesn't give any warnings. So, added a new way in which if these api's are used, compiler will give a warning associated with it.
Hi @sjanc , Can you please take a look at this? The CI checks are failing as the files where these api's are used are giving warnings which are treated as errors.
we build mynewt with -Werror so this will break build
maybe this should be a macro configurable via syscfg? eg MYNEWT_VAL(WARN_ON_DEPRECATED) or similar...
we build mynewt with -Werror so this will break build
maybe this should be a macro configurable via syscfg? eg MYNEWT_VAL(WARN_ON_DEPRECATED) or similar...
Hi @sjanc , I added a configurable macro - BLE_SUPPRESS_DEPRECATE_WARN
Hi @sjanc, Can you please take a look at this PR. Thanks.