From 166d7150c22b1f3ad5900aa7243ffd3f31bd7aaa Mon Sep 17 00:00:00 2001 From: Elliot Wolk Date: Mon, 8 Dec 2025 10:27:09 -0500 Subject: [PATCH 1/2] usb_ir: fix compilation error in daemon for gcc-15 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit new compilation error in gcc-15 (not present in gcc-14) iguanair/software/usb_ir/daemon.c:58:9: error: too many arguments to function ‘initServer’; expected 0, have 1 --- software/usb_ir/daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/software/usb_ir/daemon.c b/software/usb_ir/daemon.c index d74535e..6f9b1ff 100644 --- a/software/usb_ir/daemon.c +++ b/software/usb_ir/daemon.c @@ -55,7 +55,7 @@ static void scanHandler(int UNUSED(sig)) static void workLoop() { /* initialize the driver, signals, and device list */ - if (initServer(&srvSettings)) + if (initServer()) { if (signal(SIGINT, quitHandler) == SIG_ERR) message(LOG_ERROR, "failed to install SIGINT handler.\n"); From 27486c7cc4650a88fc33fb3d01013d6b201d11b6 Mon Sep 17 00:00:00 2001 From: Elliot Wolk Date: Mon, 8 Dec 2025 10:29:36 -0500 Subject: [PATCH 2/2] usb_ir: fix compilation error in server for gcc-15 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit new compilation error in gcc-15 (not present in gcc-14) iguanair/software/usb_ir/server.c:350:7: error: conflicting types for ‘aliasSummary’; have ‘char *(iguanaDev *)’ --- software/usb_ir/server.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/software/usb_ir/server.h b/software/usb_ir/server.h index fbb8208..b5a442a 100644 --- a/software/usb_ir/server.h +++ b/software/usb_ir/server.h @@ -98,7 +98,7 @@ void initServerSettings(); struct argp* baseArgParser(); bool initServer(); void waitOnCommPipe(); -char* aliasSummary(); +char* aliasSummary(iguanaDev *idev); char* deviceSummary(); char* deviceAddress(const char *name); void cleanupServer();