bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pure and const function attributes


From: Marc Nieper-Wißkirchen
Subject: Re: pure and const function attributes
Date: Thu, 30 Apr 2020 15:37:04 +0200

Am Mi., 29. Apr. 2020 um 18:05 Uhr schrieb Marc Nieper-Wißkirchen
<address@hidden>:
>
>
> Paul Eggert <address@hidden> schrieb am Mi., 29. Apr. 2020, 18:01:
>>
>> On 4/29/20 7:28 AM, Marc Nieper-Wißkirchen wrote:
>> > I am wondering whether it makes sense to add two new modules, named
>> > pure and const that define macros GL_PURE and GL_CONST, respectively
>>
>> There's already _GL_ATTRIBUTE_PURE and _GL_ATTRIBUTE_CONST. Presumably you 
>> just
>> want them exposed? (I confess that Emacs already uses the latter....)
>
>
> That would be perfect!

P.S.: It would also be helpful so that warnings coming from
"-Wsuggest-attribute=pure" can be handled for the GCC without
affecting other compilers.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]