This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: `malloc_alloc' not declared
- From: Loren James Rittle <rittle at latour dot rsch dot comm dot mot dot com>
- To: libstdc++ at gcc dot gnu dot org
- Cc: rqiu at innovance dot com
- Date: Fri, 6 Sep 2002 17:49:23 -0500 (CDT)
- Subject: Re: `malloc_alloc' not declared
- Organization: Networks and Infrastructure Lab (IL02/2240), Motorola Labs
> I defined __USE_MALLOC in my code, but got error:
> /usr/local/include/g++-v3/backward/alloc.h:57, `malloc_alloc' not declared
Please read the commentary in libstdc++-v3. Any macro that starts
with __ is in library implementation space... There is a way to use
it but it may have changed since libstdc++-v2 (as shipped with pre-gcc
3.0).
Regards,
Loren
--
Loren J. Rittle, Principal Staff Engineer, Motorola Labs (IL02/2240)
rittle@labs.mot.com, KeyID: 2048/ADCE34A5, FDC0292446937F2A240BC07D42763672