glade @3.20.0: error: static declaration of 'g_ptr_array_find' follows non-static declaration
:info:build glade-signal-model.c:68:1: error: static declaration of 'g_ptr_array_find' follows non-static declaration
:info:build g_ptr_array_find (GPtrArray *array, gpointer data)
:info:build ^
:info:build /opt/local/include/glib-2.0/glib/garray.h:186:12: note: previous declaration is here
:info:build gboolean g_ptr_array_find (GPtrArray *haystack,
:info:build ^
:info:build glade-signal-model.c:527:61: error: too few arguments to function call, expected 3, have 2
:info:build gint handler_index = g_ptr_array_find (handlers, handler);
:info:build ~~~~~~~~~~~~~~~~ ^
:info:build /opt/local/include/glib-2.0/glib/garray.h:185:1: note: 'g_ptr_array_find' declared here
:info:build GLIB_AVAILABLE_IN_2_54
:info:build ^
:info:build /opt/local/include/glib-2.0/glib/gversionmacros.h:486:49: note: expanded from macro 'GLIB_AVAILABLE_IN_2_54'
:info:build # define GLIB_AVAILABLE_IN_2_54 _GLIB_EXTERN
:info:build ^
:info:build /opt/local/include/glib-2.0/glib/gmacros.h:408:22: note: expanded from macro '_GLIB_EXTERN'
:info:build #define _GLIB_EXTERN extern
:info:build ^
:info:build glade-signal-model.c:585:80: error: too few arguments to function call, expected 3, have 2
:info:build if (!handlers || !handlers->len || g_ptr_array_find (handlers, signal) == 0)
:info:build ~~~~~~~~~~~~~~~~ ^
:info:build /opt/local/include/glib-2.0/glib/garray.h:185:1: note: 'g_ptr_array_find' declared here
:info:build GLIB_AVAILABLE_IN_2_54
:info:build ^
:info:build /opt/local/include/glib-2.0/glib/gversionmacros.h:486:49: note: expanded from macro 'GLIB_AVAILABLE_IN_2_54'
:info:build # define GLIB_AVAILABLE_IN_2_54 _GLIB_EXTERN
:info:build ^
:info:build /opt/local/include/glib-2.0/glib/gmacros.h:408:22: note: expanded from macro '_GLIB_EXTERN'
:info:build #define _GLIB_EXTERN extern
:info:build ^
:info:build 1 warning generated.
:info:build mv -f .deps/libgladeui_2_la-glade-signal-editor.Tpo .deps/libgladeui_2_la-glade-signal-editor.Plo
:info:build /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/clang -arch x86_64 -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GladeUI\" -DGLADE_CATALOGSDIR="\"/opt/local/share/glade/catalogs\"" -DGLADE_MODULESDIR="\"/opt/local/lib/glade/modules\"" -DGLADE_PIXMAPSDIR="\"/opt/local/share/glade/pixmaps\"" -DGLADE_LOCALEDIR="\"/opt/local/share/locale\"" -DGLADE_BINDIR="\"/opt/local/bin\"" -DGLADE_LIBDIR="\"/opt/local/lib\"" -I.. -I.. -D_REENTRANT -I/opt/local/include/gtk-3.0 -I/opt/local/include/at-spi2-atk/2.0 -I/opt/local/include/at-spi-2.0 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/gtk-3.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz -I/opt/local/include/pango-1.0 -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/libpng16 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/libxml2 -Wall -Wstrict-prototypes -Wnested-externs -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -Werror=return-type -DGLADE_ENABLE_DEBUG -I/opt/local/include -pipe -O0 -Wno-format-nonliteral -arch x86_64 -g -O0 -MT libgladeui_2_la-glade-widget-action.lo -MD -MP -MF .deps/libgladeui_2_la-glade-widget-action.Tpo -c -o libgladeui_2_la-glade-widget-action.lo `test -f 'glade-widget-action.c' || echo './'`glade-widget-action.c
:info:build glade-signal-model.c:721:56: error: too few arguments to function call, expected 3, have 2
:info:build gint new_index = g_ptr_array_find (handlers, handler) + 1;
:info:build ~~~~~~~~~~~~~~~~ ^
:info:build /opt/local/include/glib-2.0/glib/garray.h:185:1: note: 'g_ptr_array_find' declared here
:info:build GLIB_AVAILABLE_IN_2_54
:info:build ^
:info:build /opt/local/include/glib-2.0/glib/gversionmacros.h:486:49: note: expanded from macro 'GLIB_AVAILABLE_IN_2_54'
:info:build # define GLIB_AVAILABLE_IN_2_54 _GLIB_EXTERN
:info:build ^
:info:build /opt/local/include/glib-2.0/glib/gmacros.h:408:22: note: expanded from macro '_GLIB_EXTERN'
:info:build #define _GLIB_EXTERN extern
:info:build ^
:info:build 4 errors generated.
Change History (4)
Description: |
modified (diff)
|
Owner: |
set to dbevans
|
Port: |
glade added
|
Status: |
new →
assigned
|
Summary: |
glade 10.10.5 →
glade @10.10.5: error: static declaration of 'g_ptr_array_find' follows non-static declaration
|
Status: |
assigned →
accepted
|
Summary: |
glade @10.10.5: error: static declaration of 'g_ptr_array_find' follows non-static declaration →
glade @3.20.0: error: static declaration of 'g_ptr_array_find' follows non-static declaration
|
Version: |
2.4.1
|
Resolution: |
→ fixed
|
Status: |
accepted →
closed
|
glade main.log