Don't use stacktrace on Windows.
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2020-08-15 14:19:36 +02:00
parent 002902eed9
commit e778b61839
3 changed files with 11 additions and 8 deletions

View File

@@ -1,6 +1,8 @@
#ifndef ARBUTILS_EXCEPTION_HPP
#define ARBUTILS_EXCEPTION_HPP
#if !WINDOWS
#define BACKWARD_HAS_BFD 1
#endif
#include <exception>
#include <sstream>
@@ -34,7 +36,7 @@ namespace ArbUt {
function += "...";
}
ss << objectName;
if (include_addr){
if (include_addr) {
ss << "[" << trace.addr << "]";
}
ss << " " << function << std::endl;