We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
👋 while regression building vala-language-server, I ran into some incompatible function pointer types build failure with newer clang
[18/49] clang -Isrc/vala-language-server.p -Isrc -I../src -I. -I/opt/homebrew/Cellar/pcre2/10.44/include -I/opt/homebrew/Cellar/glib/2.80.4/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.80.4/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/glib/2.80.4/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/ffi -I/opt/homebrew/Cellar/libgee/0.20.6/include/gee-0.8 -I/opt/homebrew/Cellar/json-glib/1.8.0/include/json-glib-1.0 -I/opt/homebrew/Cellar/jsonrpc-glib/3.44.0/include/jsonrpc-glib-1.0 -I/opt/homebrew/Cellar/vala/0.56.17/include/vala-0.56 -I/opt/homebrew/Cellar/glib/2.80.4/include/gio-unix-2.0 -fdiagnostics-color=always -Wall -Winvalid-pch -std=gnu11 -O3 '-DG_LOG_DOMAIN="vls"' -MD -MQ src/vala-language-server.p/meson-generated_codehelp_codehelp.c.o -MF src/vala-language-server.p/meson-generated_codehelp_codehelp.c.o.d -o src/vala-language-server.p/meson-generated_codehelp_codehelp.c.o -c src/vala-language-server.p/codehelp/codehelp.c FAILED: src/vala-language-server.p/meson-generated_codehelp_codehelp.c.o clang -Isrc/vala-language-server.p -Isrc -I../src -I. -I/opt/homebrew/Cellar/pcre2/10.44/include -I/opt/homebrew/Cellar/glib/2.80.4/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.80.4/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/glib/2.80.4/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/ffi -I/opt/homebrew/Cellar/libgee/0.20.6/include/gee-0.8 -I/opt/homebrew/Cellar/json-glib/1.8.0/include/json-glib-1.0 -I/opt/homebrew/Cellar/jsonrpc-glib/3.44.0/include/jsonrpc-glib-1.0 -I/opt/homebrew/Cellar/vala/0.56.17/include/vala-0.56 -I/opt/homebrew/Cellar/glib/2.80.4/include/gio-unix-2.0 -fdiagnostics-color=always -Wall -Winvalid-pch -std=gnu11 -O3 '-DG_LOG_DOMAIN="vls"' -MD -MQ src/vala-language-server.p/meson-generated_codehelp_codehelp.c.o -MF src/vala-language-server.p/meson-generated_codehelp_codehelp.c.o.d -o src/vala-language-server.p/meson-generated_codehelp_codehelp.c.o -c src/vala-language-server.p/codehelp/codehelp.c src/vala-language-server.p/codehelp/codehelp.c:2730:23: error: incompatible function pointer types assigning to 'GFunc' (aka 'void (*)(void *, void *)') from 'void (gconstpointer, gpointer)' (aka 'void (const void *, void *)') [-Wincompatible-function-pointer-types] serialize_parameter = ____lambda4__gfunc; ^ ~~~~~~~~~~~~~~~~~~ 1 error generated. [19/49] clang -Isrc/vala-language-server.p -Isrc -I../src -I. -I/opt/homebrew/Cellar/pcre2/10.44/include -I/opt/homebrew/Cellar/glib/2.80.4/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.80.4/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/glib/2.80.4/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/ffi -I/opt/homebrew/Cellar/libgee/0.20.6/include/gee-0.8 -I/opt/homebrew/Cellar/json-glib/1.8.0/include/json-glib-1.0 -I/opt/homebrew/Cellar/jsonrpc-glib/3.44.0/include/jsonrpc-glib-1.0 -I/opt/homebrew/Cellar/vala/0.56.17/include/vala-0.56 -I/opt/homebrew/Cellar/glib/2.80.4/include/gio-unix-2.0 -fdiagnostics-color=always -Wall -Winvalid-pch -std=gnu11 -O3 '-DG_LOG_DOMAIN="vls"' -MD -MQ src/vala-language-server.p/meson-generated_codehelp_completionengine.c.o -MF src/vala-language-server.p/meson-generated_codehelp_completionengine.c.o.d -o src/vala-language-server.p/meson-generated_codehelp_completionengine.c.o -c src/vala-language-server.p/codehelp/completionengine.c FAILED: src/vala-language-server.p/meson-generated_codehelp_completionengine.c.o clang -Isrc/vala-language-server.p -Isrc -I../src -I. -I/opt/homebrew/Cellar/pcre2/10.44/include -I/opt/homebrew/Cellar/glib/2.80.4/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.80.4/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/glib/2.80.4/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/ffi -I/opt/homebrew/Cellar/libgee/0.20.6/include/gee-0.8 -I/opt/homebrew/Cellar/json-glib/1.8.0/include/json-glib-1.0 -I/opt/homebrew/Cellar/jsonrpc-glib/3.44.0/include/jsonrpc-glib-1.0 -I/opt/homebrew/Cellar/vala/0.56.17/include/vala-0.56 -I/opt/homebrew/Cellar/glib/2.80.4/include/gio-unix-2.0 -fdiagnostics-color=always -Wall -Winvalid-pch -std=gnu11 -O3 '-DG_LOG_DOMAIN="vls"' -MD -MQ src/vala-language-server.p/meson-generated_codehelp_completionengine.c.o -MF src/vala-language-server.p/meson-generated_codehelp_completionengine.c.o.d -o src/vala-language-server.p/meson-generated_codehelp_completionengine.c.o -c src/vala-language-server.p/codehelp/completionengine.c src/vala-language-server.p/codehelp/completionengine.c:4590:22: error: incompatible function pointer types assigning to 'GFunc' (aka 'void (*)(void *, void *)') from 'void (gconstpointer, gpointer)' (aka 'void (const void *, void *)') [-Wincompatible-function-pointer-types] serialize_parameter = ___lambda62__gfunc; ^ ~~~~~~~~~~~~~~~~~~ 1 error generated.
relates to Homebrew/homebrew-core#177974
The text was updated successfully, but these errors were encountered:
Looks like a vala compiler bug. Can you report it at https://gitlab.gnome.org/GNOME/vala/-/issues?
Sorry, something went wrong.
yeah, totally. filing an issue now.
upstream bug report, https://gitlab.gnome.org/GNOME/vala/-/issues/1554
No branches or pull requests
👋 while regression building vala-language-server, I ran into some incompatible function pointer types build failure with newer clang
relates to Homebrew/homebrew-core#177974
The text was updated successfully, but these errors were encountered: