aboutsummaryrefslogtreecommitdiff
path: root/odb/validator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/validator.cxx')
-rw-r--r--odb/validator.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/odb/validator.cxx b/odb/validator.cxx
index 9c20714..bf9aa6b 100644
--- a/odb/validator.cxx
+++ b/odb/validator.cxx
@@ -1655,6 +1655,9 @@ namespace
// temporarily redirect diagnostics to /dev/null, which is
// where asm_out_file points to (see plugin.cxx).
//
+ // Needless to say, this is very hacky and we should quickly fail
+ // (as we do below) if there were errors.
+ //
int ec (errorcount);
FILE* s (global_dc->printer->buffer->stream);
global_dc->printer->buffer->stream = asm_out_file;