aboutsummaryrefslogtreecommitdiffstats
path: root/common/kernel/log.h
diff options
context:
space:
mode:
authorrowanG077 <goemansrowan@gmail.com>2023-02-06 16:08:35 +0100
committerrowanG077 <goemansrowan@gmail.com>2023-02-13 10:52:05 +0100
commit3608c3eb029daf888000350872d81128c2f296ff (patch)
tree2c6a58e3a7a833e1c199e86508552a5700767313 /common/kernel/log.h
parentbfa3e047cee0f941ac58ba7dd2907fdfe2e90fc0 (diff)
downloadnextpnr-3608c3eb029daf888000350872d81128c2f296ff.tar.gz
nextpnr-3608c3eb029daf888000350872d81128c2f296ff.tar.bz2
nextpnr-3608c3eb029daf888000350872d81128c2f296ff.zip
common: Implement Werror flag
Diffstat (limited to 'common/kernel/log.h')
-rw-r--r--common/kernel/log.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/kernel/log.h b/common/kernel/log.h
index 0ac4edf5..cba539f4 100644
--- a/common/kernel/log.h
+++ b/common/kernel/log.h
@@ -63,6 +63,7 @@ extern log_write_type log_write_function;
extern std::string log_last_error;
extern void (*log_error_atexit)();
extern bool had_nonfatal_error;
+extern bool log_warn_as_error;
extern dict<LogLevel, int, loglevel_hash_ops> message_count_by_level;
std::string stringf(const char *fmt, ...);