> On Jun 7, 2020, at 1:57 PM, Joerg Sonnenberger <jo...@bec.de> wrote: > >> Example? > > https://gcc.gnu.org/onlinedocs/gcc-4.7.0/gcc/Function-Attributes.html#index-g_t_0040code_007bdeprecated_007d-attribute_002e-2502
I meant an example in our tree. We use __warn_reference() in several places already. I also don't want to introduce compiler warnings just yet. -- thorpej