On Tuesday 24 May 2005 22:09, Ian Lance Taylor wrote: > Mr E_T <troll@xxxxxxxxxxxx> writes: > > > /opt/compilers/lib/gcc/i486-mingw32/3.4.3/../../../../include/c++/3.4.3/cstdlib:103: error: `::malloc' has not been declared > > <cstdlib> includes <stdlib.h>. <stdlib.h> is supposed to declare > malloc. Apparently, it doesn't, and that is what the compiler is > complaining about. > > This is not a compiler bug, unless there really is a declaration of > malloc and the compiler is somehow ignoring it. This is a library bug > of some sort. Actually cstdlib undefines malloc and realloc in favour of std::malloc std::realloc Then it cant find the std:: functions. I am having a similar problem compiling a cross gcc for uclibc with thier patches. but with snprintf instead. ( same std::snprintf member not existing thing ) Part of my problem I have found is that gcc will ignore certain error while building - thus hiding the fact that they occured. (libstdc++) I am beginning to think that I have a problem that is being passed on from my previous compiler. But I dont see how. I cant even build gcc-4.0.0 without errors at the moment. - It cant find existing files. -- regs MR E_T _______________________ \ \ \ OOHH I hate TYPOS \ \ \ ~~~~~~~~~~~~~~~~~~~~~~~