Allow undefined BACKTRACE_* but emit a compiler warning.

This commit is contained in:
Steve Checkoway
2003-08-07 18:29:35 +00:00
parent 0628dd78f3
commit db6659ba91
2 changed files with 15 additions and 1 deletions
@@ -251,7 +251,14 @@ void BacktraceNames::FromAddr( void *p )
}
}
#else
#error BACKTRACE_LOOKUP_METHOD_* required
#warning Undefined BACKTRACE_LOOKUP_METHOD_*
void BacktraceNames::FromAddr( void *p )
{
Address = long(p);
Offset = 0;
Symbol = "";
File = "";
}
#endif