Actions
Bug #2381
openconnectdlg_common.c gnu-folding-constant warning on mac
Start date:
10/18/2026
Due date:
% Done:
0%
Estimated time:
Description
mac-meson CI job (with a patch to enable werror):
FAILED: [code=1] libfc_client_common.a.p/client_connectdlg_common.c.o
cc -Ilibfc_client_common.a.p -I. -I.. -I../dependencies/luasql/src -I../dependencies/tinycthread -I../dependencies/tolua-5.2/include -I../dependencies/cvercmp -I../utility -I../common -I../common/networking -I../common/scriptcore -I../common/aicore -I../client -I../client/include -I../client/luascript -I../client/agents -I/opt/homebrew/include -I/opt/homebrew/Cellar/sdl3_mixer/3.2.4_1/include -I/opt/homebrew/Cellar/opusfile/0.12_3/include/opus -I/opt/homebrew/Cellar/libvorbis/1.3.7/include -I/opt/homebrew/Cellar/game-music-emu/0.6.5/include -I/opt/homebrew/Cellar/libxmp/4.7.4/include -I/opt/homebrew/Cellar/fluid-synth/2.6.1/include -I/opt/homebrew/Cellar/libsndfile/1.2.2_1/include -I/opt/homebrew/Cellar/flac/1.5.0/include -I/opt/homebrew/Cellar/libogg/1.3.6/include -I/opt/homebrew/Cellar/opus/1.6.1/include/opus -I/opt/homebrew/Cellar/mpg123/1.33.7/include -I/opt/homebrew/Cellar/portaudio/19.7.0/include -I/opt/homebrew/Cellar/readline/8.3.6/include -I/opt/homebrew/Cellar/wavpack/5.9.0/include -I/opt/homebrew/include/lua -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -fdiagnostics-color=always -Wall -Winvalid-pch -Werror -O0 -g -Wnested-externs -Wmissing-declarations -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wformat -Wformat-security -Wshadow -Wold-style-definition -Wtype-limits -Wimplicit-fallthrough -DHAVE_CONFIG_H -D_DARWIN_C_SOURCE -MD -MQ libfc_client_common.a.p/client_connectdlg_common.c.o -MF libfc_client_common.a.p/client_connectdlg_common.c.o.d -o libfc_client_common.a.p/client_connectdlg_common.c.o -c ../client/connectdlg_common.c
../client/connectdlg_common.c:302:16: error: variable length array folded to constant array as an extension [-Werror,-Wgnu-folding-constant]
302 | char *argv[max_nargs + 1];
| ^~~~~~~~~~~~~
1 error generated.
Files
Updated by Marko Lindqvist 17 days ago
- Blocks Feature #2294: CI: -Dwerror=true to meson jobs added
Updated by Marko Lindqvist 14 days ago
- Blocked by Feature #2349: client/*_common.c : NULL -> nullptr added
Actions
#3
Updated by Marko Lindqvist 14 days ago
- File 0089-client_start_server-Use-macros-instead-of-const-vari.patch 0089-client_start_server-Use-macros-instead-of-const-vari.patch added
- File 0043-client_start_server-Use-macros-instead-of-const-vari.patch 0043-client_start_server-Use-macros-instead-of-const-vari.patch added
- Status changed from New to In Review
- Assignee set to Marko Lindqvist
- Target version set to 3.2.8
Actions