From SMTLIB standard:
"Regular output, including error messages, is printed on the
regular output channel..."
For CVC language, the behavior is unchanged (i.e. errors go
to stderr by default).
#endif
if(opts[options::outputLanguage] == output::LANG_SMTLIB_V2_0 ||
opts[options::outputLanguage] == output::LANG_SMTLIB_V2_5) {
- *opts[options::err] << "(error \"" << e << "\")" << endl;
+ *opts[options::out] << "(error \"" << e << "\")" << endl;
} else {
*opts[options::err] << "CVC4 Error:" << endl << e << endl;
}