Skip to content

[email protected] does not compile on a fresh install of MacOS 14.4 #922

Open
@masom

Description

Meanwhile, the default Homebrew libgda installs fine.

┃ ==> Applying configure-big_sur.diff
┃
┃ patching file configure
┃
┃ ==> ./configure --disable-silent-rules --disable-binreloc --disable-gtk-doc --wi
┃
┃ ==> make
┃
┃ Last 15 lines from /Users/martinsamson/Library/Logs/Homebrew/libgda@5/02.make:
┃
┃                                                                    NULL, _gda_prepared_estatement_free);
┃
┃                                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
┃
┃ /opt/homebrew/Cellar/glib/2.80.0/include/glib-2.0/glib/ghash.h:66:61: note: passing argument to parameter 'value_destroy_func' here
┃
┃                                             GDestroyNotify  value_destroy_func);
┃
┃                                                             ^
┃
┃ 1 error generated.
┃
┃ make[2]: *** [gda-connection.lo] Error 1
┃
┃ make[2]: *** Waiting for unfinished jobs....
rew/Cellar/glib/2.80.0/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/f
fi -DHAVE_GIO   -Wall   -g -O2 -c -o gda-data-select.lo gda-data-select.c
gda-connection.c:6461:18: error: incompatible function pointer types passing 'void (PreparedStatementRef *)' to parameter of type 'GDestroyNotify' (a
ka 'void (*)(void *)') [-Wincompatible-function-pointer-types]
                                                                   NULL, _gda_prepared_estatement_free);
                                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/homebrew/Cellar/glib/2.80.0/include/glib-2.0/glib/ghash.h:66:61: note: passing argument to parameter 'value_destroy_func' here
                                            GDestroyNotify  value_destroy_func);

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions