Thursday, September 11, 2008

gcc 4.3 porting

Any installation is killing time on and on with errors due to gcc 4.3 porting issues. finding the right include files is easier from here:
http://gcc.gnu.org/gcc-4.3/porting_to.html

But, thanks a trillion to Martin Michlmayr and his website which threw upon all mysteries.

for strtol and strtod problems, #include

ArArgumentBuilder.cpp:357: error: ‘strtol’ was not declared in this scope
ArArgumentBuilder.cpp: In member function ‘int ArArgumentBuilder::getArgInt(size_t) const’:
ArArgumentBuilder.cpp:373: error: ‘strtol’ was not declared in this scope
ArArgumentBuilder.cpp: In member function ‘bool ArArgumentBuilder::isArgDouble(size_t) const’:
ArArgumentBuilder.cpp:399: error: ‘strtod’ was not declared in this scope
ArArgumentBuilder.cpp: In member function ‘double ArArgumentBuilder::getArgDouble(size_t) const’:
ArArgumentBuilder.cpp:429: error: ‘strtod’ was not declared in this scope



"#include "



Yay!

No comments: