mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-23 11:32:07 +00:00
Add 0/1/2 warning levels to rgblink -Wtruncation (#1816)
This commit is contained in:
@@ -26,9 +26,13 @@ Diagnostics<WarningLevel, WarningID> warnings = {
|
||||
{"obsolete", LEVEL_DEFAULT },
|
||||
{"shift", LEVEL_ALL },
|
||||
{"shift-amount", LEVEL_ALL },
|
||||
// Parametric warnings
|
||||
{"truncation", LEVEL_DEFAULT },
|
||||
{"truncation", LEVEL_EVERYTHING},
|
||||
},
|
||||
.paramWarnings = {
|
||||
{WARNING_TRUNCATION_1, WARNING_TRUNCATION_2, 2},
|
||||
},
|
||||
.paramWarnings = {},
|
||||
.state = DiagnosticsState<WarningID>(),
|
||||
.nbErrors = 0,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user