This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: `malloc_alloc' not declared
- From: Phil Edwards <phil at jaj dot com>
- To: Robin Qiu <rqiu at innovance dot com>
- Cc: "'Loren James Rittle'" <rittle at latour dot rsch dot comm dot mot dot com>, libstdc++ at gcc dot gnu dot org
- Date: Mon, 9 Sep 2002 16:12:29 -0400
- Subject: Re: `malloc_alloc' not declared
- References: <EB38D5AB3238D611A91000306E1CE45F4E22D9@postal.innovance.com>
On Sun, Sep 08, 2002 at 05:05:19PM -0400, Robin Qiu wrote:
>
> Hi Loren,
>
> Thanks for the reply. What does it mean "Any macro that starts
> with __ is in library implementation space..."?
It means you don't get to use it. :-) You get to define these:
http://gcc.gnu.org/onlinedocs/libstdc++/17_intro/howto.html#6
and others as we make them safe.
> I couldn't find
> "malloc_alloc" anywhere in libstdc++-v3,
It was an SGI extension. We've been removing and renaming them slowly.
You'll have to look in the header file for your particular libstdc++
version for more info until we get them finished.
--
I would therefore like to posit that computing's central challenge, viz. "How
not to make a mess of it," has /not/ been met.
- Edsger Dijkstra, 1930-2002