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 01:40:56 -0300
- Cc: gcc at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <4A256A23.0018C802.00@naunb909.national.com.au>
On Apr 3, 2001, Timothy_Ko@nag.national.com.au wrote:
> itoa(lNum, cBuf, 10); <--- implicit declaration of function `int
> _itoa(...)'
The underscore in the error message looks odd. In any case, this
looks like a C library problem. I suspect some header #defines itoa
as something that calls _itoa, but _itoa is never declared. g++
-fpermissive will get you around the error message, but you should
complain to the supplier of the C library so that they eventually fix
this bug.
--
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