On 07.06.2020 22:57, Joerg Sonnenberger wrote: > On Sun, Jun 07, 2020 at 01:27:48PM -0700, Jason Thorpe wrote: >> >>> On Jun 7, 2020, at 1:22 PM, Joerg Sonnenberger <jo...@bec.de> wrote: >>> >>> On Sat, Jun 06, 2020 at 09:26:00PM +0000, Jason R Thorpe wrote: >>>> ==> Deprecate mutable prop_data(3) and prop_string(3) objects. The old >>>> APIs that support them still exist, but will now produce link-time >>>> warnings when used. >>> >>> Please replace them with proper deprecration annotation in the headers. >> >> Example? > > https://gcc.gnu.org/onlinedocs/gcc-4.7.0/gcc/Function-Attributes.html#index-g_t_0040code_007bdeprecated_007d-attribute_002e-2502 > > Joerg >
Warnings from headers are worse as whenever a symbol is not pulled from the headers the application has no idea that it is using an old deprecated or broken symbol. (I caught with the linker time warning many issues in .NET on NetBSD) So, I'm against this.
signature.asc
Description: OpenPGP digital signature