./compile ezmlm-cgi.c
In file included from ezmlm-cgi.c:24:
substdio.h:12:64: warning: initialization of 'int (*)()' from incompatible pointer type 'ssize_t (*)(int, const void *, size_t)' {aka 'long int (*)(int, const void *, long unsigned int)'} [-Winco
mpatible-pointer-types]
12 | #define SUBSTDIO_FDBUF(op,fd,buf,len) { (buf), 0, (len), (fd), (op) }
| ^
ezmlm-cgi.c:177:25: note: in expansion of macro 'SUBSTDIO_FDBUF'
177 | static substdio ssout = SUBSTDIO_FDBUF(write,1,outbuf,sizeof(outbuf));
| ^~~~~~~~~~~~~~
substdio.h:12:64: note: (near initialization for 'ssout.op')
12 | #define SUBSTDIO_FDBUF(op,fd,buf,len) { (buf), 0, (len), (fd), (op) }
| ^
ezmlm-cgi.c:177:25: note: in expansion of macro 'SUBSTDIO_FDBUF'
177 | static substdio ssout = SUBSTDIO_FDBUF(write,1,outbuf,sizeof(outbuf));
| ^~~~~~~~~~~~~~
ezmlm-cgi.c: In function 'show_index':
ezmlm-cgi.c:962:24: warning: passing argument 2 of 'substdio_fdbuf' from incompatible pointer type [-Wincompatible-pointer-types]
962 | substdio_fdbuf(&ssin,read,fd,inbuf,sizeof(inbuf));
| ^~~~
| |
| ssize_t (*)(int, void *, size_t) {aka long int (*)(int, void *, long unsigned int)}
In file included from ezmlm-cgi.c:24:
substdio.h:14:46: note: expected 'int (*)()' but argument is of type 'ssize_t (*)(int, void *, size_t)' {aka 'long int (*)(int, void *, long unsigned int)'}
14 | extern void substdio_fdbuf(substdio *s,int (*op)(),int fd,char *buf,int len);
| ~~~~~~^~~~~
ezmlm-cgi.c: In function 'show_object':
ezmlm-cgi.c:1068:24: warning: passing argument 2 of 'substdio_fdbuf' from incompatible pointer type [-Wincompatible-pointer-types]
1068 | substdio_fdbuf(&ssin,read,fd,inbuf,sizeof(inbuf));
| ^~~~
| |
| ssize_t (*)(int, void *, size_t) {aka long int (*)(int, void *, long unsigned int)}
In file included from ezmlm-cgi.c:24:
substdio.h:14:46: note: expected 'int (*)()' but argument is of type 'ssize_t (*)(int, void *, size_t)' {aka 'long int (*)(int, void *, long unsigned int)'}
14 | extern void substdio_fdbuf(substdio *s,int (*op)(),int fd,char *buf,int len);
| ~~~~~~^~~~~
ezmlm-cgi.c: In function 'show_message':
ezmlm-cgi.c:1576:24: warning: passing argument 2 of 'substdio_fdbuf' from incompatible pointer type [-Wincompatible-pointer-types]
1576 | substdio_fdbuf(&ssin,read,fd,inbuf,sizeof(inbuf));
| ^~~~
| |
| ssize_t (*)(int, void *, size_t) {aka long int (*)(int, void *, long unsigned int)}
In file included from ezmlm-cgi.c:24:
substdio.h:14:46: note: expected 'int (*)()' but argument is of type 'ssize_t (*)(int, void *, size_t)' {aka 'long int (*)(int, void *, long unsigned int)'}
14 | extern void substdio_fdbuf(substdio *s,int (*op)(),int fd,char *buf,int len);
| ~~~~~~^~~~~
ezmlm-cgi.c: In function 'msg2hash':
ezmlm-cgi.c:1686:24: warning: passing argument 2 of 'substdio_fdbuf' from incompatible pointer type [-Wincompatible-pointer-types]
1686 | substdio_fdbuf(&ssin,read,fd,inbuf,sizeof(inbuf));
| ^~~~
| |
| ssize_t (*)(int, void *, size_t) {aka long int (*)(int, void *, long unsigned int)}
In file included from ezmlm-cgi.c:24:
substdio.h:14:46: note: expected 'int (*)()' but argument is of type 'ssize_t (*)(int, void *, size_t)' {aka 'long int (*)(int, void *, long unsigned int)'}
14 | extern void substdio_fdbuf(substdio *s,int (*op)(),int fd,char *buf,int len);
| ~~~~~~^~~~~
ezmlm-cgi.c: In function 'setmsg':
ezmlm-cgi.c:1745:24: warning: passing argument 2 of 'substdio_fdbuf' from incompatible pointer type [-Wincompatible-pointer-types]
1745 | substdio_fdbuf(&ssin,read,fd,inbuf,sizeof(inbuf));
| ^~~~
| |
| ssize_t (*)(int, void *, size_t) {aka long int (*)(int, void *, long unsigned int)}
In file included from ezmlm-cgi.c:24:
substdio.h:14:46: note: expected 'int (*)()' but argument is of type 'ssize_t (*)(int, void *, size_t)' {aka 'long int (*)(int, void *, long unsigned int)'}
14 | extern void substdio_fdbuf(substdio *s,int (*op)(),int fd,char *buf,int len);
| ~~~~~~^~~~~
ezmlm-cgi.c: In function 'main':
ezmlm-cgi.c:2074:24: warning: passing argument 2 of 'substdio_fdbuf' from incompatible pointer type [-Wincompatible-pointer-types]
2074 | substdio_fdbuf(&ssin,read,fd,inbuf,sizeof(inbuf)); /* set up buffer */
| ^~~~
| |
| ssize_t (*)(int, void *, size_t) {aka long int (*)(int, void *, long unsigned int)}
In file included from ezmlm-cgi.c:24:
substdio.h:14:46: note: expected 'int (*)()' but argument is of type 'ssize_t (*)(int, void *, size_t)' {aka 'long int (*)(int, void *, long unsigned int)'}
14 | extern void substdio_fdbuf(substdio *s,int (*op)(),int fd,char *buf,int len);
| ~~~~~~^~~~~
./load ezmlm-cgi -lezmlm
./compile ezmlm-clean.c
ezmlm-clean.c: In function 'sendnotice':
ezmlm-clean.c:104:30: warning: passing argument 2 of 'substdio_fdbuf' from incompatible pointer type [-Wincompatible-pointer-types]
104 | substdio_fdbuf(&sstext,read,fd,textbuf,sizeof(textbuf));
| ^~~~
| |
| ssize_t (*)(int, void *, size_t) {aka long int (*)(int, void *, long unsigned int)}
In file included from qmail.h:4,
from ezmlm-clean.c:15:
substdio.h:14:46: note: expected 'int (*)()' but argument is of type 'ssize_t (*)(int, void *, size_t)' {aka 'long int (*)(int, void *, long unsigned int)'}
14 | extern void substdio_fdbuf(substdio *s,int (*op)(),int fd,char *buf,int len);
| ~~~~~~^~~~~
ezmlm-clean.c:146:30: warning: passing argument 2 of 'substdio_fdbuf' from incompatible pointer type [-Wincompatible-pointer-types]
146 | substdio_fdbuf(&sstext,read,fd,textbuf,sizeof(textbuf));
| ^~~~
| |
| ssize_t (*)(int, void *, size_t) {aka long int (*)(int, void *, long unsigned int)}
In file included from qmail.h:4,
from ezmlm-clean.c:15:
substdio.h:14:46: note: expected 'int (*)()' but argument is of type 'ssize_t (*)(int, void *, size_t)' {aka 'long int (*)(int, void *, long unsigned int)'}
14 | extern void substdio_fdbuf(substdio *s,int (*op)(),int fd,char *buf,int len);
| ~~~~~~^~~~~
./load ezmlm-clean -lezmlm
./compile ezmlm-confirm.c
ezmlm-confirm.c: In function 'main':
ezmlm-confirm.c:197:28: warning: passing argument 2 of 'substdio_fdbuf' from incompatible pointer type [-Wincompatible-pointer-types]
197 | substdio_fdbuf(&sstext,read,fd,textbuf,sizeof(textbuf));
| ^~~~
| |
| ssize_t (*)(int, void *, size_t) {aka long int (*)(int, void *, long unsigned int)}
In file included from qmail.h:4,
from ezmlm-confirm.c:19:
substdio.h:14:46: note: expected 'int (*)()' but argument is of type 'ssize_t (*)(int, void *, size_t)' {aka 'long int (*)(int, void *, long unsigned int)'}
14 | extern void substdio_fdbuf(substdio *s,int (*op)(),int fd,char *buf,int len);
| ~~~~~~^~~~~
./load ezmlm-confirm -lezmlm
./compile ezmlm-cron.c
ezmlm-cron.c: In function 'main':
ezmlm-cron.c:214:24: warning: passing argument 2 of 'substdio_fdbuf' from incompatible pointer type [-Wincompatible-pointer-types]
214 | substdio_fdbuf(&ssin,read,fdin,inbuf,sizeof(inbuf));
| ^~~~
| |
| ssize_t (*)(int, void *, size_t) {aka long int (*)(int, void *, long unsigned int)}
In file included from ezmlm-cron.c:9:
substdio.h:14:46: note: expected 'int (*)()' but argument is of type 'ssize_t (*)(int, void *, size_t)' {aka 'long int (*)(int, void *, long unsigned int)'}
14 | extern void substdio_fdbuf(substdio *s,int (*op)(),int fd,char *buf,int len);
| ~~~~~~^~~~~
ezmlm-cron.c:248:27: warning: passing argument 2 of 'substdio_fdbuf' from incompatible pointer type [-Wincompatible-pointer-types]
248 | substdio_fdbuf(&ssout,write,1,outbuf,sizeof(outbuf));
| ^~~~~
| |
| ssize_t (*)(int, const void *, size_t) {aka long int (*)(int, const void *, long unsigned int)}