mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-17 18:07:02 +00:00
general: reenable -Wpedantic for gcc by using __extension__ (ZEXT)
to suppress warnings about `errtxtf` operand number "%<n>$" args; enable some further warnings test suite: enable -Wpedantic and fix/suppress any warnings
This commit is contained in:
@@ -454,8 +454,9 @@ INTERNAL int vin(struct zint_symbol *symbol, unsigned char source[], int length)
|
||||
}
|
||||
|
||||
if (input_check != output_check) {
|
||||
return errtxtf(ZINT_ERROR_INVALID_CHECK, symbol, 338,
|
||||
"Invalid check digit '%1$c' (position 9), expecting '%2$c'", input_check, output_check);
|
||||
return ZEXT errtxtf(ZINT_ERROR_INVALID_CHECK, symbol, 338,
|
||||
"Invalid check digit '%1$c' (position 9), expecting '%2$c'", input_check,
|
||||
output_check);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user