mirror of
https://github.com/Z3Prover/z3
synced 2025-12-27 06:26:35 +00:00
add redirect for warnings
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
fbf9e3004f
commit
2f8b13368d
4 changed files with 23 additions and 0 deletions
|
|
@ -83,6 +83,10 @@ void set_warning_stream(std::ostream* strm) {
|
|||
g_warning_stream = strm;
|
||||
}
|
||||
|
||||
std::ostream* warning_stream() {
|
||||
return g_warning_stream;
|
||||
}
|
||||
|
||||
void format2ostream(std::ostream & out, char const* msg, va_list args) {
|
||||
svector<char> buff;
|
||||
BEGIN_ERR_HANDLER();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue