Snippets for a2ps 4.15.8 from Nix aarch64-darwin
Sourced from https://hydra.nixos.org/log/34v03b9hq6xj099byf1aqvjafbzf56xp-a2ps-4.15.8.drv.
-
openat-die.c:38:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 37 | error (exit_failure, errnum, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 38 | _("unable to record current working directory")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
openat-die.c:57:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 56 | error (exit_failure, errnum, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 57 | _("failed to return to initial working directory")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
regex.c:813:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 813 | re_set_syntax (syntax) | ^ -
regex.c:1641:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1641 | regex_compile (pattern, size, syntax, bufp) | ^ -
regex.c:2720:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2720 | store_op1 (op, loc, arg) | ^ -
regex.c:2733:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2733 | store_op2 (op, loc, arg1, arg2) | ^ -
regex.c:2748:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2748 | insert_op1 (op, loc, arg, end) | ^ -
regex.c:2767:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2767 | insert_op2 (op, loc, arg1, arg2, end) | ^ -
regex.c:2788:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2788 | at_begline_loc_p (pattern, p, syntax) | ^ -
regex.c:2807:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2807 | at_endline_loc_p (p, pend, syntax) | ^ -
regex.c:2829:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2829 | group_in_compile_stack (compile_stack, regnum) | ^ -
regex.c:2857:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2857 | compile_range (p_ptr, pend, translate, syntax, b) | ^ -
regex.c:2916:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2916 | re_compile_fastmap (bufp) | ^ -
regex.c:3185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3185 | re_set_registers (bufp, regs, num_regs, starts, ends) | ^ -
regex.c:3215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3215 | re_search (bufp, string, size, startpos, range, regs) | ^ -
regex.c:3251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3251 | re_search_2 (bufp, string1, size1, string2, size2, startpos, range, regs, stop) | ^ -
regex.c:3459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3459 | re_match (bufp, string, size, pos, regs) | ^ -
regex.c:3499:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3499 | re_match_2 (bufp, string1, size1, string2, size2, pos, regs, stop) | ^ -
regex.c:3518:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3518 | re_match_2_internal (bufp, string1, size1, string2, size2, pos, regs, stop) | ^ -
regex.c:4853:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4853 | group_match_null_string_p (p, end, reg_info) | ^ -
regex.c:4962:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4962 | alt_match_null_string_p (p, end, reg_info) | ^ -
regex.c:4999:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4999 | common_op_match_null_string_p (p, end, reg_info) | ^ -
regex.c:5082:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5082 | bcmp_translate (s1, s2, len, translate) | ^ -
regex.c:5109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5109 | re_compile_pattern (pattern, length, bufp) | ^ -
prolog.c:181:32: warning: unknown warning group '-Wsuggest-attribute=format', ignored [-Wunknown-warning-option] 181 | #pragma GCC diagnostic ignored "-Wsuggest-attribute=format" | ^ -
printers.c:379:13: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 379 | char *format = (file_p | ^ ~~~~~~~ 380 | ? _("saved into the file `%s'") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 381 | : _("sent to the printer `%s'")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
main.c:234:14: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 234 | return _("heavy"); | ^~~~~~~~~~ -
main.c:238:14: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 238 | return _("normal"); | ^~~~~~~~~~~ -
main.c:242:14: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 242 | return _("none"); | ^~~~~~~~~ -
main.c:427:19: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 427 | style_request = _("selected automatically"); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~