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

Re: gcc 3.3 and __func__ ...



On Thu, Oct 16, 2003 at 11:51:12PM +0200, Sven Luther wrote:

> On Thu, Oct 16, 2003 at 12:26:42PM -0400, Matt Zimmerman wrote:
> > See "(gcc)Function Names".  It'd really be best to adapt it to use __func__
> > properly, since this is a standard which will be honored by other compilers.
> 
> What would be the best way to adapt it ? Use the
> 
>   printf ("%sMessage", __func__, ...);
> 
> form ?

Yes.

-- 
 - mdz



Reply to: