Messages in this thread | | | Date | Wed, 4 Sep 2002 08:34:37 +0200 | From | Rasmus Andersen <> | Subject | Re: __func__ in 2.5.33? |
| |
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. > > You need: > > #define func_enter() sx_dprintk (SX_DEBUG_FLOW, "sx: enter %s\n", __FUNCTION__)
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 [unhandled content-type:application/pgp-signature] | |