[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
make bootstrap crashes on incompatible integer to pointer conversion
From: |
Matto Fransen |
Subject: |
make bootstrap crashes on incompatible integer to pointer conversion |
Date: |
Tue, 03 Dec 2024 16:23:35 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hi,
I am trying to compile Emacs on FreeBSD 14-2 with the latest source from
Git.
These are the first steps:
git pull
git clean -dxf
./autogen.sh
./configure --with-x-toolkit=lucid
make bootstrap
make boostrap crashes on image.c:
image.c:12358:12: warning: call to undeclared function
'rsvg_handle_get_pixbuf_and_error'; ISO C99 and later do not support implicit
function declarations [-Wimplicit-function-declaration]
12358 | pixbuf = rsvg_handle_get_pixbuf_and_error (rsvg_handle, &err);
| ^
image.c:12358:10: error: incompatible integer to pointer conversion assigning
to 'GdkPixbuf *' (aka 'struct _GdkPixbuf *') from 'int' [-Wint-conversion]
12358 | pixbuf = rsvg_handle_get_pixbuf_and_error (rsvg_handle, &err);
This doesn't depend on the x-toolkit: either --with-x-toolkit=lucid,
--with-x-toolkit=gtk3, --with-x-toolkit=gtk2, or --with-x-toolkit=no
result in the same error.
It builds fine when configured with: --with-x-toolkit=lucid --without-rsvg
Best regards,
Matto
- make bootstrap crashes on incompatible integer to pointer conversion,
Matto Fransen <=