Advertisement
Guest User

Untitled

a guest
Jun 19th, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.05 KB | None | 0 0
  1. ## Heartbeat 3.0.6 -- Heartbeat-3-0-958e11be8686
  2.  
  3. heartbeat.c: In function 'master_control_process':
  4. heartbeat.c:1649:20: error: passing argument 1 of 'ipc_set_pollfunc' from incompatible pointer type [-Werror=incompatible-pointer-types]
  5. ipc_set_pollfunc(cl_poll);
  6. ^
  7. In file included from heartbeat.c:234:0:
  8. /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)'
  9. extern void ipc_set_pollfunc(int (*)(struct pollfd*, nfds_t, int));
  10. ^
  11. cc1: all warnings being treated as errors
  12. gmake[2]: *** [heartbeat-heartbeat.o] Error 1
  13. gmake[1]: *** [all-recursive] Error 1
  14. make: *** [all-recursive] Error 1
  15.  
  16. ## latest tip snapshot from mercurial -- Heartbeat-3-0-c3e00d445d95/
  17.  
  18. ucast.c:459:5: error: no previous prototype for 'setsockopt_reuseport' [-Werror=missing-prototypes]
  19. int setsockopt_reuseport(int sockfd)
  20. ^
  21. cc1: all warnings being treated as errors
  22. gmake[4]: *** [ucast.lo] Error 1
  23. gmake[4]: *** Waiting for unfinished jobs....
  24. gmake[3]: *** [all-recursive] Error 1
  25. gmake[2]: *** [all-recursive] Error 1
  26. gmake[1]: *** [all-recursive] Error 1
  27. make: *** [all-recursive] Error 1
  28.  
  29. ## heartbeat-dev from mercurial
  30.  
  31. heartbeat.c: In function 'master_control_process':
  32. heartbeat.c:1648:20: error: passing argument 1 of 'ipc_set_pollfunc' from incompatible pointer type [-Werror=incompatible-pointer-types]
  33. ipc_set_pollfunc(cl_poll);
  34. ^
  35. In file included from heartbeat.c:233:0:
  36. /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)'
  37. extern void ipc_set_pollfunc(int (*)(struct pollfd*, nfds_t, int));
  38. ^
  39. cc1: all warnings being treated as errors
  40. gmake[2]: *** [heartbeat-heartbeat.o] Error 1
  41. gmake[1]: *** [all-recursive] Error 1
  42. make: *** [all-recursive] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement