On Thu, 28 Aug 2003, Ard Biesheuvel wrote:

> >     attribute((malloc)) is now enabled in CVS.  Note that
> >     erealloc was excluded.
>
> I used __attribute_malloc__ intentionally, because it is also supported
> by GCC 2.

    A helpful comment from ansidecl.h:

        Attribute __malloc__ on functions was valid as of gcc 2.96.

    I've confirmed that __attribute__((malloc)) is accepted
    whereas __attribute_malloc__ is not.  The inconsistency does
    not surprise me considering the overall quality of GCC 2.96.
    Anyway, I'll refine the version check later.

    - Sascha

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to