From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: David Fussner via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#43135: 28.0.50; image.c compiler warning Date: Wed, 2 Sep 2020 07:34:39 +0100 Message-ID: References: <20200901185526.GA93185@breton.holly.idiocy.org> Reply-To: David Fussner Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17521"; mail-complaints-to="usenet@ciao.gmane.io" To: Alan Third , David Fussner , 43135@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 02 08:39:41 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kDMQm-0004Pg-JT for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 02 Sep 2020 08:39:40 +0200 Original-Received: from localhost ([::1]:53358 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kDMQl-0001m6-EC for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 02 Sep 2020 02:39:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46224) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kDMPD-00010F-B5 for bug-gnu-emacs@gnu.org; Wed, 02 Sep 2020 02:38:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46496) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kDMPB-0006pu-P6 for bug-gnu-emacs@gnu.org; Wed, 02 Sep 2020 02:38:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kDMPB-000152-MT for bug-gnu-emacs@gnu.org; Wed, 02 Sep 2020 02:38:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: David Fussner Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 02 Sep 2020 06:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43135 X-GNU-PR-Package: emacs Original-Received: via spool by 43135-submit@debbugs.gnu.org id=B43135.15990286474112 (code B ref 43135); Wed, 02 Sep 2020 06:38:01 +0000 Original-Received: (at 43135) by debbugs.gnu.org; 2 Sep 2020 06:37:27 +0000 Original-Received: from localhost ([127.0.0.1]:58042 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kDMOd-00014G-K7 for submit@debbugs.gnu.org; Wed, 02 Sep 2020 02:37:27 -0400 Original-Received: from mail-qv1-f68.google.com ([209.85.219.68]:41375) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kDMOc-000144-3R for 43135@debbugs.gnu.org; Wed, 02 Sep 2020 02:37:26 -0400 Original-Received: by mail-qv1-f68.google.com with SMTP id ef16so1733707qvb.8 for <43135@debbugs.gnu.org>; Tue, 01 Sep 2020 23:37:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=6nId/4VLetE743TBG5q6Na5eO6uXKFPzWWGwd2yMjvw=; b=VfMT/1pAWQIQdhhedSd9G3NSJOCkG1whxLX5O34uOgOcDrj9o0PC56AB+rTbNzxXno zOQjo5MPY7BPkmokORkH8kqw3U7x8gvDSEEl/bupQO0sIXh2BuOFqxNm4c3+ww+dL12Y 0Kl3O0iO18YUIqUEMLQcmcCsS3/jClWheC0AmNVW8hrxBpnVXF7E7dLZsKaxXc4V5K3n IU/WCddbbu1aWS4LEhYAeEgwt3PIn/768IEmlJX0agiMeFk3uFAMmSUxbvkRDwVdkMdV qO4Ei8N3Ivs7pSduPPzVjpSVLR9XoQj+lw+FkQhzkjWGWaK8pdyJWRu1MrdGAGZjsygq n7Lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=6nId/4VLetE743TBG5q6Na5eO6uXKFPzWWGwd2yMjvw=; b=a+yO/Qd9a0SygrXdedXDLLfkX/NiFOvP1Qqik/g4ZmxI0E75hXCDNU/FSrZhqWrA9L XYrNiuiviVhXzv1rvnv11XRb8dIS4mH3hQFkoPv9k4ymvUjoKObHTqVBp1VyEugfA2Ab FmNRDjtkK68aMxSYHxgD7KbjMhOYb/zJwhGyyBKzTweUleSl4V8tdr2DD1Ro4R8nc6pq cBEBFa920oPnDdW1zsCaokjK2T1dVm9vizzUMzkmu0QH0g1a/jdc84YZVKM2QAwYhn3r shz/1g1mNT8lgav9XMRX/ZseGbL1Yf91jTz9+YWoHx5E9b3/fGe7wcLjvnWxDYacJT8r yIZg== X-Gm-Message-State: AOAM5326B+Ehqsx2Y2gPQE+/prD2jd7GXOHRUwqcFWoSiD94HT0ZqT+Z 0OM83d6m7XVgdWuWmsAaOw378+4dlQPp5iJaYnA= X-Google-Smtp-Source: ABdhPJyPE5kGP5t8U/jFWdchsq73U+ljxy4hMALMqoEIQQyFj6yXNNe2LARL4EdJ0nXjCf8la/bOIZeED+en50e7LPc= X-Received: by 2002:ad4:524c:: with SMTP id s12mr5695272qvq.209.1599028640648; Tue, 01 Sep 2020 23:37:20 -0700 (PDT) In-Reply-To: <20200901185526.GA93185@breton.holly.idiocy.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:186905 Archived-At: Hi Alan, Yes, that works for me. Many thanks for the quick response, and please close the bug. David. On Tue, 1 Sep 2020 at 19:55, Alan Third wrote: > > 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