[Top][All Lists]

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

Re: __func__

From: Eric Blake
Subject: Re: __func__
Date: Thu, 28 Feb 2008 21:36:58 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Simon Josefsson <simon <at> josefsson.org> writes:

> The __func__ module will add the block above to config.h, to make sure
> that __func__ is usable.
> If there are other pre-C99 compilers that use other ways of printing the
> function name, I suppose the module could be extended with those.
> What do you think?

I like the idea.  I would also like to see the assert module use it, if the 
platform's assert() lacks __func__ information as required by C99/POSIX 2001.

Eric Blake

reply via email to

[Prev in Thread] Current Thread [Next in Thread]