wifidog: build with GNU C17

GCC 15 interprets libhttpd's empty callback parameter lists as
zero-argument prototypes in GNU C23. The library passes the
server, request and status to its error callbacks. It also
uses legacy declarations for route and preload callbacks.

Use GNU C17 for the normal and TLS variants, preserving the
libhttpd callback interface and leaving compiler diagnostics
enabled.

Assisted-by: LLM
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Hauke Mehrtens authored and Hannu Nyman committed 2026-12-02 19:12:31 +02:00
1 parent 7b907eb4b1
commit b8aaef49a3
1 file changed
+3 -1
+3 -1
View File
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=wifidog
PKG_VERSION:=1.3.0
PKG_RELEASE:=10
PKG_RELEASE:=11
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/wifidog/wifidog-gateway
@@ -25,6 +25,8 @@ PKG_INSTALL:=0
include $(INCLUDE_DIR)/package.mk
TARGET_CFLAGS += -std=gnu17
define Package/wifidog/Default
SUBMENU:=Captive Portals
SECTION:=net