Re: [PATCH] 2.5.21 kill warnings 4/19

Neil Booth (neil@daikokuya.demon.co.uk)
Mon, 10 Jun 2002 22:51:16 +0100


Maksim (Max) Krasnyanskiy wrote:-

> Hi Martin,
>
> How about replacing __FUNCTION__ with __func__ ?
> GCC 3.x warns that __FUNCTION__ is obsolete and will be removed.

No, it doesn't, it warns that string concatenation with __FUNCTION__
is deprecated and will be removed (I wrote the code).

__FUNCTION__ itself will stay forever.

Neil.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/