This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: `malloc_alloc' not declared


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]