Rephrase numeric-string warning to not be identical to another one (#1449)

This commit is contained in:
Sylvie
2024-08-06 07:56:09 -04:00
committed by GitHub
parent 2706f94788
commit bb480b761c
2 changed files with 8 additions and 8 deletions

View File

@@ -121,7 +121,7 @@ static bool tryProcessParamWarning(char const *flag, uint8_t param, WarningState
if (!strcmp(flag, paramWarnings[i].name)) { // Match!
if (!strcmp(flag, "numeric-string"))
warning(WARNING_OBSOLETE, "Treating multi-unit strings as numbers is deprecated\n");
warning(WARNING_OBSOLETE, "Warning flag \"numeric-string\" is deprecated\n");
// If making the warning an error but param is 0, set to the maximum
// This accommodates `-Werror=flag`, but also `-Werror=flag=0`, which is