implicit declaration of function `int _itoa(...)'

Alexandre Oliva aoliva@redhat.com
Mon Apr 2 22:19:00 GMT 2001


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



More information about the Gcc mailing list