[Insight-users] #include <stdlib.h> missing
Julien Jomier
jjomier at cs.unc.edu
Wed Jul 27 19:59:14 EDT 2005
This is now fixed in the cvs repository.
Thanks for the report,
Julien
Luca Picello wrote:
> It is my first time compiling ITK sources (it is from daily CVS) with
> Borland C++ Builder 6.
> The compiler tells me:
>
> Z:\Insight\Utilities\MetaIO\metaCommand.cxx:
> Error E2268 Z:\Insight\Utilities\MetaIO\metaCommand.cxx 238: Call to
> undefined f
> unction 'atof' in function
> MetaCommand::GetValueAsFloat(_STL::string,_STL::strin
> g)
> Error E2268 Z:\Insight\Utilities\MetaIO\metaCommand.cxx 262: Call to
> undefined f
> unction 'atof' in function
> MetaCommand::GetValueAsFloat(MetaCommand::Option,_STL
> ::string)
> Error E2268 Z:\Insight\Utilities\MetaIO\metaCommand.cxx 288: Call to
> undefined f
> unction 'atoi' in function
> MetaCommand::GetValueAsInt(_STL::string,_STL::string)
>
> Error E2268 Z:\Insight\Utilities\MetaIO\metaCommand.cxx 312: Call to
> undefined f
> unction 'atoi' in function
> MetaCommand::GetValueAsInt(MetaCommand::Option,_STL::
> string)
> Error E2268 Z:\Insight\Utilities\MetaIO\metaCommand.cxx 527: Call to
> undefined f
> unction 'atoi' in function MetaCommand::ParseXML(const char *)
> Error E2268 Z:\Insight\Utilities\MetaIO\metaCommand.cxx 535: Call to
> undefined f
> unction 'atoi' in function MetaCommand::ParseXML(const char *)
> Error E2268 Z:\Insight\Utilities\MetaIO\metaCommand.cxx 547: Call to
> undefined f
> unction 'atoi' in function MetaCommand::ParseXML(const char *)
> Error E2268 Z:\Insight\Utilities\MetaIO\metaCommand.cxx 555: Call to
> undefined f
> unction 'atoi' in function MetaCommand::ParseXML(const char *)
> Error E2268 Z:\Insight\Utilities\MetaIO\metaCommand.cxx 760: Call to
> undefined f
> unction 'atof' in function MetaCommand::Parse(int,char * *)
> *** 9 errors in Compile ***
>
> ** error 1 ** deleting metaCommand.obj
>
> in borlandc, atof() and atoi() are defined in <stdlib.h>
>
> Luca
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
More information about the Insight-users
mailing list