* make bootstrap crashes on incompatible integer to pointer conversion
@ 2024-12-03 16:23 Matto Fransen
2024-12-03 17:01 ` Eli Zaretskii
0 siblings, 1 reply; 2+ messages in thread
From: Matto Fransen @ 2024-12-03 16:23 UTC (permalink / raw)
To: emacs-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: make bootstrap crashes on incompatible integer to pointer conversion
2024-12-03 16:23 make bootstrap crashes on incompatible integer to pointer conversion Matto Fransen
@ 2024-12-03 17:01 ` Eli Zaretskii
0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2024-12-03 17:01 UTC (permalink / raw)
To: Matto Fransen; +Cc: emacs-devel
> From: Matto Fransen <matto@matto.nl>
> Date: Tue, 03 Dec 2024 16:23:35 +0000
>
> 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);
>
Thanks, this has been fixed yesterday on the emacs-30 branch, and will
be fixed in a couple of days on master as well.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-12-03 17:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-03 16:23 make bootstrap crashes on incompatible integer to pointer conversion Matto Fransen
2024-12-03 17:01 ` Eli Zaretskii
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).