/var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/server_event.c:76:1: error: conflicting types for ‘server_event_destroy’; have ‘void(server_event_t *)’ {aka ‘void(struct _server_event *)’} 76 | server_event_destroy(server_event_t * event) | ^~~~~~~~~~~~~~~~~~~~ In file included from /var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/server_event.c:24: /var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/server_event.h:54:18: note: previous declaration of ‘server_event_destroy’ with type ‘void(void)’ 54 | void server_event_destroy (); | ^~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:618: lashd-server_event.o] Error 1 make[2]: *** Waiting for unfinished jobs.... /var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/main.c: In function ‘main’: /var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/main.c:108:9: warning: ‘xmlSetCompressMode’ is deprecated [-Wdeprecated-declarations] 108 | xmlSetCompressMode(XML_COMPRESSION_LEVEL); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/tree.h:17, from /var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/main.c:30: /usr/include/libxml2/libxml/tree.h:1305:17: note: declared here 1305 | xmlSetCompressMode (int mode); | ^~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/client.c:29:1: error: conflicting types for ‘client_new’; have ‘client_t *(lash_connect_params_t *)’ {aka ‘struct _client *(struct _lash_connect_params *)’} 29 | client_new(lash_connect_params_t * params) | ^~~~~~~~~~ In file included from /var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/client.c:24: /var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/client.h:66:12: note: previous declaration of ‘client_new’ with type ‘client_t *(void)’ {aka ‘struct _client *(void)’} 66 | client_t * client_new (); | ^~~~~~~~~~ make[2]: *** [Makefile:590: lashd-client.o] Error 1 /var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/conn_mgr.c: In function ‘conn_mgr_send_server_event_to_client’: /var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/conn_mgr.c:857:17: error: too many arguments to function ‘server_event_destroy’; expected 0, have 1 857 | server_event_destroy(server_event); | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ In file included from /var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/conn_mgr.h:28, from /var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/conn_mgr.c:37: /var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/server_event.h:54:18: note: declared here 54 | void server_event_destroy (); | ^~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/conn_mgr.c:865:17: error: too many arguments to function ‘server_event_destroy’; expected 0, have 1 865 | server_event_destroy(server_event); | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ /var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/server_event.h:54:18: note: declared here 54 | void server_event_destroy (); | ^~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/conn_mgr.c:868:9: error: too many arguments to function ‘server_event_destroy’; expected 0, have 1 868 | server_event_destroy(server_event); | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ /var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/server_event.h:54:18: note: declared here 54 | void server_event_destroy (); | ^~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/server.c: In function ‘server_main’: /var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/server.c:752:25: error: too many arguments to function ‘server_event_destroy’; expected 0, have 1 752 | server_event_destroy(server_event); | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ In file included from /var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/conn_mgr.h:28, from /var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/server.h:28, from /var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/server.c:33: /var/tmp/portage/media-sound/lash-0.5.4-r6/work/lash-0.5.4/lashd/server_event.h:54:18: note: declared here 54 | void server_event_destroy (); | ^~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:660: lashd-server.o] Error 1 Reproducible: Always Steps to Reproduce: emerge gcc:15 and set active emerge lash over-ride env permits it to build: CFLAGS="${CFLAGS} -std=gnu17"
Created attachment 918796 [details] build failure log
Created attachment 918797 [details] emerge--info