On Mon, Mar 12, 2018 at 2:56 PM, Jeffrey Walton <[email protected]> wrote:
> On Mon, Mar 12, 2018 at 2:49 PM, Niels Möller <[email protected]> wrote:
>> Nikos Mavrogiannopoulos <[email protected]> writes:
>>
>>> #ifdef __GNUC__
>>> # define _GNUTLS_GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 +
>>> __GNUC_PATCHLEVEL__)
>>>
>>> # if _GNUTLS_GCC_VERSION >= 30100
>>> #  define _GNUTLS_GCC_ATTR_DEPRECATED __attribute__ ((__deprecated__))
>>> # endif
>>> #endif
>>
>> That means that __attribute__ ((__deprecated__)) was introduced in
>> gcc-3.1 ? Is that documented somewhere? I find no mention in
>> https://gcc.gnu.org/gcc-3.1/changes.html.
>
> I believe the versions for '__attribute__((deprecated (msg)))' are:
>
>     * GCC 4.5
>     * LLVM Clang 2.8
>     * Apple Clang 4.2
>
> There is a version without 'msg' that has been around since the GCC 3
> days....

Here it is. It first surfaces in the GCC 3.1.1 manual:
https://gcc.gnu.org/onlinedocs/gcc-3.1.1/gcc/Function-Attributes.html#Function%20Attributes

It is missing from the 2.95 and 3.0.4 manuals.

Jeff
_______________________________________________
nettle-bugs mailing list
[email protected]
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs

Reply via email to