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