[Bug 269972] print/gimp-gutenprint: print.c:117:29: error: incompatible pointer to integer conversion

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 05 Mar 2023 07:56:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269972

            Bug ID: 269972
           Summary: print/gimp-gutenprint: print.c:117:29: error:
                    incompatible pointer to integer conversion
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: cmt@freebsd.org
          Reporter: ohartmann@walstatt.org
          Assignee: cmt@freebsd.org
             Flags: maintainer-feedback?(cmt@freebsd.org)

Host: FreeBSD 14.0-CURRENT #32 main-n261307-d2ae03bae2ad: Fri Mar  3 18:07:51
CET 2023 amd64, ports tree is most recent git pull of latest tree sources.

Trying to compile graphics/gimp which includes print/gimp-gutenprint results in
an compilation error, see below:


[...]
2 warnings generated.
mv -f .deps/print-gutenprint.Tpo .deps/print-gutenprint.Po
/bin/sh ../../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I../..
 -I../../include -I../../include  -O2 -pipe  -fstack-protector-strong
-fno-strict-aliasing  -Wformat -Werror=format-security -Wmissing-prototypes
-I/usr/local/include  -Disfinite=finite -O2 -pipe  -fstack-protector-strong
-fno-strict-aliasing  -O3  -I/usr/local/include/gtk-2.0
-I/usr/local/include/pango-1.0 -I/usr/local/include
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include/harfbuzz -I/usr/local/include/freetype2
-I/usr/local/include/libpng16 -I/usr/local/include/fribidi
-I/usr/local/include/cairo -I/usr/local/include/pixman-1
-I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE
-pthread  -Disfinite=finite -O2 -pipe  -fstack-protector-strong
-fno-strict-aliasing  -O3 -MT libgutenprintui2_la-printrcl.lo -MD -MP -MF
.deps/libgutenprintui2_la-printrcl.Tpo -c -o libgutenprintui2_la-printrcl.lo
`test -f 'printrcl.c' || echo './'`printrcl.c

print.c:117:29: error: incompatible pointer to integer conversion passing 'void
*' to parameter of type 'gint32' (aka 'int') [-Wint-conversion]
  gint x = gimp_image_width(image_ID);
[...]

-- 
You are receiving this mail because:
You are the assignee for the bug.