diff options
author | myrtle <gatecat@ds0.me> | 2023-02-14 15:03:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-14 15:03:57 +0100 |
commit | 78dabb7b8f2279090b61447d1ebd04385061fc61 (patch) | |
tree | 2312aa9c34abfd1440cbd03fac2c84d64998731d /common/kernel/log.h | |
parent | 57693bcb7f9140fc8587295e6af76be9b43b073c (diff) | |
parent | 3608c3eb029daf888000350872d81128c2f296ff (diff) | |
download | nextpnr-78dabb7b8f2279090b61447d1ebd04385061fc61.tar.gz nextpnr-78dabb7b8f2279090b61447d1ebd04385061fc61.tar.bz2 nextpnr-78dabb7b8f2279090b61447d1ebd04385061fc61.zip |
Merge pull request #1092 from rowanG077/werror
common: Implement Werror flag
Diffstat (limited to 'common/kernel/log.h')
-rw-r--r-- | common/kernel/log.h | 1 |
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, ...); |