This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: implicit declaration of function `int _itoa(...)'
- To: Timothy_Ko at nag dot national dot com dot au
- Subject: Re: implicit declaration of function `int _itoa(...)'
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 03 Apr 2001 02:19:19 -0300
- Cc: gcc at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <4A256A23.001A647C.00@naunb909.national.com.au>
On Apr 3, 2001, Timothy_Ko@nag.national.com.au wrote:
> I think I miss to #include a library with itoa function (I have #include
> stdlib.h).
#including a header wouldn't get you an itoa function; it would get
you a *declaration*; the function would be *defined* in libc, which is
already linked in, but there's no itoa() there, so libc probably just
doesn't define this function. It's a non-standard function, anyway.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me