mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-21 18:55:11 -04: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:
parent
a4b557786f
commit
b377b14360
93 changed files with 1397 additions and 1370 deletions
backend
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue