From: Bob D. <bd...@si...> - 2006-01-13 20:36:23
|
Hi, An undocumented feature is rlogit_setmessagewriter found in libsrc/util.c You can get in the middle of the error handling. If you do find a crash however please let me know so we can fix it. - Bob > It would be fine, if it were one function like rlib_get_lasterror(), > rlib_get_lasterrormessage() and after function execution one can check > if there eror occurred. > > I have seen your code, you are using r_error function, which outputs > message to stderr. C++ std::cerr is not stderr in c (or not always), > that's why I had problems and crashes. I have made some tricks around, > but one loses elegance. > > Sincerely, > Leo Seib > > > |