*** empty log message ***

This commit is contained in:
jiri
2006-04-09 21:07:54 +00:00
parent 073f9c09d1
commit 3a243630de
6 changed files with 34 additions and 4 deletions

View File

@@ -3,6 +3,11 @@
#include "laerror.h"
#include <stdio.h>
#include <errno.h>
#ifdef USE_TRACEBACK
#include "traceback.h"
#endif
void laerror(const char *s1)
{
std::cerr << "LA:ERROR - ";
@@ -13,8 +18,13 @@ void laerror(const char *s1)
std::cout << s1 << "\n";
}
if(errno) perror("system error");
throw LAerror(s1);
#ifdef USE_TRACEBACK
traceback(1);
exit(1);
#else
throw LAerror(s1); //traceback possible via sigtraceback, but BFD library might fail for -O3 code on some machines and source lines would not be available
#endif
}
//stub for f77 blas called from strassen routine