This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/13691] malloc returns eroneous pointer
- From: "marcus at jet dot franken dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Jan 2004 06:40:37 -0000
- Subject: [Bug c/13691] malloc returns eroneous pointer
- References: <20040114235551.13691.janbor@fys.uio.no>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From marcus at jet dot franken dot de 2004-01-15 06:40 -------
You are also missing #include <stdlib.h> which might be the cause of the
warning.
listen to the compiler, it is your friend ;)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13691