[MacPorts] #69732: gtk4 @4.14.2 fails to build: error: conflicting types for 'gsk_standard_contour_init'
MacPorts
noreply at macports.org
Sun Apr 14 00:09:00 UTC 2024
#69732: gtk4 @4.14.2 fails to build: error: conflicting types for
'gsk_standard_contour_init'
--------------------------+----------------------
Reporter: barracuda156 | Owner: mascguy
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.9.3
Keywords: | Port: gtk4
--------------------------+----------------------
{{{
:info:build FAILED: gsk/libgsk.a.p/gskcontour.c.o
:info:build /opt/local/bin/gcc-mp-13 -Igsk/libgsk.a.p -Igsk
-I../gtk-4.14.2/gsk -I. -I../gtk-4.14.2 -Igdk/x11 -I../gtk-4.14.2/gdk/x11
-Igdk -I../gtk-4.14.2/gdk -Igsk/gpu/shaders -Igtk/css
-I/opt/local/include/graphene-1.0 -I/opt/local/lib/graphene-1.0/include
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/local/include/pango-1.0 -I/opt/local/include/fribidi
-I/opt/local/include/cairo -I/opt/local/include/pixman-1
-I/opt/local/include/harfbuzz -I/opt/local/include/freetype2
-I/opt/local/include/libpng16 -I/opt/local/include/gdk-pixbuf-2.0
-I/opt/local/include/gio-unix-2.0 -I/opt/local/include -fdiagnostics-
color=always -Wall -Winvalid-pch -std=gnu99 -O2 -g
-DG_LOG_USE_STRUCTURED=1 -DGLIB_DISABLE_DEPRECATION_WARNINGS
'-DGTK_VERSION="4.14.2"' -D_GNU_SOURCE -DG_ENABLE_DEBUG -pipe -Os -arch
ppc -DGTK_COMPILATION '-DG_LOG_DOMAIN="Gsk"' -DG_LOG_STRUCTURED=1 -fno-
strict-aliasing -Wno-missing-include-dirs -Wduplicated-branches
-Wduplicated-cond -Wformat=2 -Wformat-nonliteral -Wformat-security
-Wignored-qualifiers -Wimplicit-function-declaration -Wlogical-op
-Wmisleading-indentation -Wmissing-format-attribute -Wmissing-include-dirs
-Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith
-Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef
-Wuninitialized -Wunused -Waddress -Warray-bounds -Wempty-body -Wenum-int-
mismatch -Wimplicit -Wimplicit-fallthrough -Wimplicit-fallthrough=5
-Winit-self -Wint-to-pointer-cast -Wmain -Wmissing-braces -Wmissing-
declarations -Wmissing-prototypes -Wnonnull -Woverride-init -Wpointer-to-
int-cast -Wredundant-decls -Wreturn-type -Wsequence-point -Wtrigraphs
-Wvla -Wwrite-strings -Wcast-align -Wnull-dereference -fvisibility=hidden
-MD -MQ gsk/libgsk.a.p/gskcontour.c.o -MF gsk/libgsk.a.p/gskcontour.c.o.d
-o gsk/libgsk.a.p/gskcontour.c.o -c ../gtk-4.14.2/gsk/gskcontour.c
:info:build ../gtk-4.14.2/gsk/gskcontour.c:1289:1: error: conflicting
types for 'gsk_standard_contour_init'; have 'void(GskContour *,
GskPathFlags, const graphene_point_t *, gsize, void * const*, gsize,
gssize)' {aka 'void(struct _GskContour *, GskPathFlags, const struct
_graphene_point_t *, long unsigned int, void * const*, long unsigned int,
long int)'}
:info:build 1289 | gsk_standard_contour_init (GskContour
*contour,
:info:build | ^~~~~~~~~~~~~~~~~~~~~~~~~
:info:build ../gtk-4.14.2/gsk/gskcontour.c:553:1: note: previous
declaration of 'gsk_standard_contour_init' with type 'void(GskContour *,
GskPathFlags, const graphene_point_t *, gsize, void * const*, gsize,
ptrdiff_t)' {aka 'void(struct _GskContour *, GskPathFlags, const struct
_graphene_point_t *, long unsigned int, void * const*, long unsigned int,
int)'}
:info:build 553 | gsk_standard_contour_init (GskContour
*contour,
:info:build | ^~~~~~~~~~~~~~~~~~~~~~~~~
}}}
--
Ticket URL: <https://trac.macports.org/ticket/69732>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list