mirror of
https://github.com/gbdev/rgbds.git
synced 2026-08-20 13:54:33 +00:00
Fix rgbasm -Werror=... not adding to the final error count
This commit is contained in:
@@ -171,6 +171,8 @@ void warning(WarningID id, char const *fmt, ...) {
|
||||
|
||||
case WarningBehavior::ERROR:
|
||||
printDiag(fmt, args, "error", STYLE_RED, "[-Werror=%s]", flag);
|
||||
|
||||
incrementErrors();
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user