[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: __func__
From: |
Simon Josefsson |
Subject: |
Re: __func__ |
Date: |
Mon, 03 Mar 2008 17:07:22 +0100 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux) |
Eric Blake <address@hidden> writes:
> 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.
How can that be implemented? The current assert module seems to only
add a --disable-assert, rather than replacing a incorrect assert
function.
/Simon
- Re: AC_COMPILE_IFELSE, (continued)
- Re: __func__, Eric Blake, 2008/03/04
- Re: __func__, Simon Josefsson, 2008/03/06
- Re: __func__, Jim Meyering, 2008/03/06
- Re: __func__, Simon Josefsson, 2008/03/06
- Re: __func__, Simon Josefsson, 2008/03/06
- Re: __func__, Bruno Haible, 2008/03/06
Re: __func__,
Simon Josefsson <=
Re: __func__, Simon Josefsson, 2008/03/03