Re: malloc undefined cross compiling with gcc 3.4.3 for mingw32

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux