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]

`malloc_alloc' not declared


Title: `malloc_alloc' not declared

Hi,

I defined __USE_MALLOC in my code, but got error:
/usr/local/include/g++-v3/backward/alloc.h:57, `malloc_alloc' not declared

I'm using gcc 3.1 on Solatis 2.8:
% gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.1/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls
Thread model: posix
gcc version 3.1
% uname -a
SunOS thunderbolt 5.8 Generic_108528-12 sun4u sparc SUNW,UltraAX-i2
thunderbolt%

Thanks.

Robin Qiu
Innovance Networks (http://www.innovance.com)
(613) 798-9293 ext 3386



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