On Mon, Aug 31, 2020 at 02:52:44PM +0100, David Fussner via Bug reports for GNU Emacs, the Swiss army knife of text editors wrote: > For the last week or so I'm seeing this warning when compiling master, > always using the simple command 'make' in the git repo: > > CC image.o > image.c: In function 'svg_load_image': > image.c:9892:3: warning: implicit declaration of function 'free' > [-Wimplicit-function-declaration] > free (wrapped_contents); > ^ > image.c:9892:3: warning: incompatible implicit declaration of built-in > function 'free' > image.c:9892:3: note: include '' or provide a declaration of > 'free' > > This is a 32-bit build, and Slackware 14.2's gcc is 5.5.0. The > executable runs just fine. > > The warning appears after commit > 8f42b94fe43911c6b0c7e519ba439d61459dc744 by Alan Third: > Set basic SVG attributes (bug#40845) > > Including at the top of image.c does silence the warning. Hi, can you please try the attached patch. -- Alan Third