shithub: rgbds

Download patch

ref: b62832e94dbfdc1c09edc9995745a77e1758bb0f
parent: e5820312d40697259089c56afebce291c52706d9
author: ISSOtm <[email protected]>
date: Fri Dec 6 21:48:06 EST 2019

Move empty entries warning to -Wextra
Since the behavior actually kinda makes sense, it's better as extra.

--- a/src/asm/warning.c
+++ b/src/asm/warning.c
@@ -77,7 +77,6 @@
 /* Warnings that probably indicate an error */
 static uint8_t const _wallCommands[] = {
 	WARNING_BUILTIN_ARG,
-	WARNING_EMPTY_ENTRY,
 	WARNING_LARGE_CONSTANT,
 	WARNING_LONG_STR,
 	META_WARNING_DONE
@@ -85,6 +84,7 @@
 
 /* Warnings that are less likely to indicate an error */
 static uint8_t const _wextraCommands[] = {
+	WARNING_EMPTY_ENTRY,
 	WARNING_OBSOLETE,
 	META_WARNING_DONE
 };