ref: 2c37a1e9714ca640fa685a78a0865988b333a953
parent: 2c523649785a4ee9bb21f16148affafcfc3a8a94
author: ISSOtm <eldredhabert0@gmail.com>
date: Thu Jan 16 14:16:54 EST 2020
Fix default warning states They were in the wrong order for some reason, this especially caused user warnings to be off by default
--- a/src/asm/warning.c
+++ b/src/asm/warning.c
@@ -21,14 +21,14 @@
};
static enum WarningState const defaultWarnings[NB_WARNINGS] = {
- WARNING_ENABLED, /* User warnings */
- WARNING_DISABLED, /* Obsolete things */
WARNING_DISABLED, /* Invalid args to builtins */
- WARNING_DISABLED, /* Constants too large */
- WARNING_DISABLED, /* Shifting undefined behavior */
WARNING_DISABLED, /* Division undefined behavior */
WARNING_DISABLED, /* Empty entry in `db`, `dw` or `dl` */
+ WARNING_DISABLED, /* Constants too large */
WARNING_DISABLED, /* String too long for internal buffers */
+ WARNING_DISABLED, /* Obsolete things */
+ WARNING_DISABLED, /* Shifting undefined behavior */
+ WARNING_ENABLED, /* User warnings */
};
static enum WarningState warningStates[NB_WARNINGS];