From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani
Philipp Stephani wrote:
>> +#ifdef __has_attribute
>> +#if __has_attribute(__nonnull__)
>>=C2=A0 # define EMACS_ATTRIBUTE_NONNULL(...)
>>=C2=A0 __attribute__((__nonnull__(__VA_ARGS__)))
>> -#else
>> +#endif
>> +#endif
>> +#ifndef EMACS_ATTRIBUTE_NONNULL
>>=C2=A0 # define EMACS_ATTRIBUTE_NONNULL(...)
>>=C2=A0 #endif
Applied as 69899d4.
> Probably yes, thanks. (I don't know why the && expression = doesn't work.)
I could not find a good reference, but see eg
https://gcc.gnu.org/bugzilla/show_bug.cgi?id= =3D36453#c3