This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]