Re: __func__ in 2.5.33?

Rasmus Andersen (rasmus@jaquet.dk)
Wed, 4 Sep 2002 08:34:37 +0200


--HcAYCG3uE/tztfnV
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Sep 03, 2002 at 02:48:40PM -0700, Andrew Morton wrote:
> The parenthesised (__func__) is there to force you to not try to
> perform this string pasting. Support for __FUNCTION__ pasting is
> being phased out of gcc.
>=20
> You need:
>=20
> #define func_enter() sx_dprintk (SX_DEBUG_FLOW, "sx: enter %s\n", __FUNCT=
ION__)

Ah, OK. I apparently missed the part about the pasting part
being phased out, alongside missing Paul Larson's patch.

Thanks to both of you,
Rasmus

--HcAYCG3uE/tztfnV
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9dal8lZJASZ6eJs4RAkRUAJ94D9rCMc2L1N8YSGX8+xYhDUE3bQCeJUd9
5QZjpAfsmC9GzOaja5TiU4Y=
=x0c9
-----END PGP SIGNATURE-----

--HcAYCG3uE/tztfnV--
-
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/