mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 20:05:51 +00:00
fix a few warnings & simplify debug.h header
This commit is contained in:
parent
a97bc65af4
commit
d8cea7c8d5
6 changed files with 24 additions and 56 deletions
|
@ -36,13 +36,13 @@ bool assertions_enabled() {
|
|||
}
|
||||
|
||||
void notify_assertion_violation(const char * fileName, int line, const char * condition) {
|
||||
std::cerr << "ASSERTION VIOLATION\n";
|
||||
std::cerr << "File: " << fileName << "\n";
|
||||
std::cerr << "Line: " << line << "\n";
|
||||
std::cerr << condition << "\n";
|
||||
std::cerr << "ASSERTION VIOLATION\n"
|
||||
"File: " << fileName << "\n"
|
||||
"Line: " << line << '\n'
|
||||
<< condition << '\n';
|
||||
#ifndef Z3DEBUG
|
||||
std::cerr << Z3_FULL_VERSION << "\n";
|
||||
std::cerr << "Please file an issue with this message and more detail about how you encountered it at https://github.com/Z3Prover/z3/issues/new\n";
|
||||
std::cerr << Z3_FULL_VERSION "\n"
|
||||
"Please file an issue with this message and more detail about how you encountered it at https://github.com/Z3Prover/z3/issues/new\n";
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue