Bug#1114887: RFS: foomatic-filters/4.0.17-17 [RC] -- OpenPrinting printer support - filters
Control: tags -1 moreinfo
This still FTBFS:
pdf.c: In function ‘start_renderer’:
pdf.c:76:34: error: passing argument 2 of ‘start_process’ from incompatible pointer type [-Wincompatible-pointer-types]
76 | kid3 = start_process("kid3", exec_kid3, (void *)cmd, NULL, NULL);
| ^~~~~~~~~
| |
| int (*)(FILE *, FILE *, void *)
In file included from pdf.c:27:
process.h:31:45: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(FILE *, FILE *, void *)’
31 | pid_t start_process(const char *name, int (*proc_func)(), void *user_arg, FILE **fdin, FILE **fdout);
| ~~~~~~^~~~~~~~~~~~
In file included from pdf.c:28:
renderer.h:28:5: note: ‘exec_kid3’ declared here
28 | int exec_kid3(FILE *in, FILE *out, void *user_arg);
| ^~~~~~~~~
fileconverter.c: In function ‘exec_kid1’:
fileconverter.c:164:34: error: passing argument 2 of ‘start_process’ from incompatible pointer type [-Wincompatible-pointer-types]
164 | kid2 = start_process("kid2", exec_kid2, (void *)alreadyread, NULL, &kid2out);
| ^~~~~~~~~
| |
| int (*)(FILE *, FILE *, void *)
In file included from fileconverter.c:32:
process.h:31:45: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(FILE *, FILE *, void *)’
31 | pid_t start_process(const char *name, int (*proc_func)(), void *user_arg, FILE **fdin, FILE **fdout);
| ~~~~~~^~~~~~~~~~~~
fileconverter.c:123:5: note: ‘exec_kid2’ declared here
123 | int exec_kid2(FILE *in, FILE *out, void *user_arg)
| ^~~~~~~~~
fileconverter.c: In function ‘get_fileconverter_handle’:
fileconverter.c:249:34: error: passing argument 2 of ‘start_process’ from incompatible pointer type [-Wincompatible-pointer-types]
249 | kid1 = start_process("kid1", exec_kid1, &kid1_userdata, NULL, &kid1out);
| ^~~~~~~~~
| |
| int (*)(FILE *, FILE *, void *)
process.h:31:45: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(FILE *, FILE *, void *)’
31 | pid_t start_process(const char *name, int (*proc_func)(), void *user_arg, FILE **fdin, FILE **fdout);
| ~~~~~~^~~~~~~~~~~~
fileconverter.c:156:5: note: ‘exec_kid1’ declared here
156 | int exec_kid1(FILE *in, FILE *out, void *user_arg)
| ^~~~~~~~~
Reply to: