Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## Heartbeat 3.0.6 -- Heartbeat-3-0-958e11be8686
- heartbeat.c: In function 'master_control_process':
- heartbeat.c:1649:20: error: passing argument 1 of 'ipc_set_pollfunc' from incompatible pointer type [-Werror=incompatible-pointer-types]
- ipc_set_pollfunc(cl_poll);
- ^
- In file included from heartbeat.c:234:0:
- /usr/include/clplumbing/ipc.h:702:13: note: expected 'int (*)(struct pollfd *, nfds_t, int) {aka int (*)(struct pollfd *, long unsigned int, int)}' but argument is of type 'int (*)(struct pollfd *, unsigned int, int)'
- extern void ipc_set_pollfunc(int (*)(struct pollfd*, nfds_t, int));
- ^
- cc1: all warnings being treated as errors
- gmake[2]: *** [heartbeat-heartbeat.o] Error 1
- gmake[1]: *** [all-recursive] Error 1
- make: *** [all-recursive] Error 1
- ## latest tip snapshot from mercurial -- Heartbeat-3-0-c3e00d445d95/
- ucast.c:459:5: error: no previous prototype for 'setsockopt_reuseport' [-Werror=missing-prototypes]
- int setsockopt_reuseport(int sockfd)
- ^
- cc1: all warnings being treated as errors
- gmake[4]: *** [ucast.lo] Error 1
- gmake[4]: *** Waiting for unfinished jobs....
- gmake[3]: *** [all-recursive] Error 1
- gmake[2]: *** [all-recursive] Error 1
- gmake[1]: *** [all-recursive] Error 1
- make: *** [all-recursive] Error 1
- ## heartbeat-dev from mercurial
- heartbeat.c: In function 'master_control_process':
- heartbeat.c:1648:20: error: passing argument 1 of 'ipc_set_pollfunc' from incompatible pointer type [-Werror=incompatible-pointer-types]
- ipc_set_pollfunc(cl_poll);
- ^
- In file included from heartbeat.c:233:0:
- /usr/include/clplumbing/ipc.h:702:13: note: expected 'int (*)(struct pollfd *, nfds_t, int) {aka int (*)(struct pollfd *, long unsigned int, int)}' but argument is of type 'int (*)(struct pollfd *, unsigned int, int)'
- extern void ipc_set_pollfunc(int (*)(struct pollfd*, nfds_t, int));
- ^
- cc1: all warnings being treated as errors
- gmake[2]: *** [heartbeat-heartbeat.o] Error 1
- gmake[1]: *** [all-recursive] Error 1
- make: *** [all-recursive] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement