|
From: | Arthur Miller |
Subject: | Re: Introducing emacs-webkit and more thoughts on Emacs rendering (was Rethinking the design of xwidgets) |
Date: | Sun, 22 Nov 2020 16:27:04 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Jean Louis <bugs@gnu.support> writes: > I have failed shamelessly. :-) Happens to best sometimes. > Can it be to some outdated stuff on my system? It looks like you should just fix some include path and maybe you need to see over your linker options; > webkit-module.c:920:13: warning: incompatible implicit declaration of > built-in function ‘calloc’ > webkit-module.c:920:13: note: include ‘<stdlib.h>’ or provide a declaration > of ‘calloc’ > webkit-module.c:963:46: warning: incompatible implicit declaration of > built-in function ‘strlen’ > env->make_string (env, err_msg, strlen (err_msg))); > ^~~~~~ > webkit-module.c:963:46: note: include ‘<string.h>’ or provide a declaration > of ‘strlen’ > make: *** [Makefile:10: webkit-module.so] Error 1 The compiler already tells you to include <cstdlib.h> (which is c++ version of stdlib.h) + some other stuff. malloc, free & co are found in stdlib.h and strlen is foound in string.h.
[Prev in Thread] | Current Thread | [Next in Thread] |