8 #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
17 #include "../io/Print/Print.h"
18 #include "../io/Comm/IssmComm.h"
19 #include "../MemOps/MemOps.h"
24 len = strlen(what_arg.c_str())+1;
26 memcpy(
what_str,what_arg.c_str(),len);
37 len = strlen(what_arg.c_str())+1;
39 memcpy(
what_str,what_arg.c_str(),len);
41 len = strlen(what_file.c_str())+1;
45 len = strlen(what_function.c_str())+1;
89 std::ostringstream buffer;
94 buffer <<
" error message: " << this->
what_str;
102 std::string buffer2 = buffer.str();
103 message = xNew<char>(strlen(buffer2.c_str())+1); sprintf(message,
"%s",buffer2.c_str());