Add -Wobsolete to RGBFIX and RGBGFX, and deprecate rgbfix -O

This commit is contained in:
Rangi42
2025-08-05 17:12:29 -04:00
parent 3a0a4b7f90
commit bf66e346f0
12 changed files with 16 additions and 6 deletions

View File

@@ -778,6 +778,7 @@ int main(int argc, char *argv[]) {
break;
case 'O':
warning(WARNING_OBSOLETE, "'-O' is deprecated; use '-Wno-overwrite' instead");
warnings.processWarningFlag("no-overwrite");
break;