Peter Eisentraut <[email protected]> writes: > On 07.11.25 16:03, Bertrand Drouvot wrote: > >> +#define pg_attribute_deprecated(msg) [[deprecated(msg)]] >> +#elif defined(__GNUC__) || defined(__clang__) > > The __clang__ part is not needed, because clang defines __GNUC__ also.
Or, to avoid having to know this, how about __has_attribute(deprecated)? - ilmari
