From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Third Newsgroups: gmane.emacs.devel Subject: Re: Fix another compiler warning on macOS Date: Sun, 11 Jun 2017 12:15:03 +0100 Message-ID: <20170611111503.GA70041@breton.holly.idiocy.org> References: <20170610234352.GA69535@breton.holly.idiocy.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1497179763 3408 195.159.176.226 (11 Jun 2017 11:16:03 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 11 Jun 2017 11:16:03 +0000 (UTC) User-Agent: Mutt/1.7.2 (2016-11-26) Cc: Philipp Stephani , emacs-devel@gnu.org To: Philipp Stephani Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 11 13:15:54 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dK0qX-0000Kv-GR for ged-emacs-devel@m.gmane.org; Sun, 11 Jun 2017 13:15:53 +0200 Original-Received: from localhost ([::1]:33563 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dK0qZ-00089H-Gz for ged-emacs-devel@m.gmane.org; Sun, 11 Jun 2017 07:15:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46840) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dK0pn-00088W-Js for emacs-devel@gnu.org; Sun, 11 Jun 2017 07:15:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dK0pm-0002GP-Lp for emacs-devel@gnu.org; Sun, 11 Jun 2017 07:15:07 -0400 Original-Received: from mail-wr0-x231.google.com ([2a00:1450:400c:c0c::231]:33030) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dK0pm-0002Fz-Ez for emacs-devel@gnu.org; Sun, 11 Jun 2017 07:15:06 -0400 Original-Received: by mail-wr0-x231.google.com with SMTP id v104so69874420wrb.0 for ; Sun, 11 Jun 2017 04:15:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=15rn2TGxr4GfbYpS1rWyV5miSoY8osVctHBiBCuUcp4=; b=nwSNVzUGsgsYmq3IutmC+vut1Ar4NsDPwOgDTkLUtULnnIZXP0O9SwaQ7jrxrWdUUq brrUUXTI9Kx4K+HjzDweFtlt68/12ruRBhcZbaHbc+sRzbLQoyNewKChvrcxOsxI7u7l Mw0aC0Zn/h3BfoScHueH4wWMmQ6477D4G1xe1Yj80Z0Yybnn1J2bAe4iB6bAsoJ/xd4k uwyd2BInU31bSHs9MTVi/7+lW1nwhi8AXajw1pSmnCj1k01gmk97BJyRVPOTUUJOr+OF Sz7cnOiyZJT1MufPHK0+Zeyww+bFxpISTMqsdOlJCZYgPz4wj401aGacPgVAdRNMTzmc APtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=15rn2TGxr4GfbYpS1rWyV5miSoY8osVctHBiBCuUcp4=; b=PFH5gzQ3eB66RMsySkUqVPQe9bsnLnLJ1s4EliuEuBleWZID8wnwO5e+TPuM+7vosk QiHJoVqoNkJciUehtH0PHua0ZmGbMO0rsZQIdIXCEbFM2SqgTvqlROMvIt8h/CGBJ2MJ FrxFqfev5PdXy9EqJv6s7c3taiUUZBNYZaMZMSAUsoVwNrEj9DelsA1bgAcFnAIFt71B nCMxweTFTLUe43hh0jTzBHUpMN51c8yDJ0PJuYANUkpMhpp6BtayHCSF6cQb2IQrI7Lh Z+C1JdUKVLaD67J4iXfbYmcv6BGuriugAM4CywIuXYyuH4AzFA6MV39OgpHLkPO8l2KD 5eFg== X-Gm-Message-State: AKS2vOwwOIGBk3QfAhSSrsd9s0OrdX6XtdYaGAcD57Fb3QmWlyGqPrOd nMuWfYAD6gZ1dA== X-Received: by 10.28.13.211 with SMTP id 202mr4768348wmn.23.1497179705268; Sun, 11 Jun 2017 04:15:05 -0700 (PDT) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-cca2-bae7-97d4-1425.holly.idiocy.org. [2001:8b0:3f8:8129:cca2:bae7:97d4:1425]) by smtp.gmail.com with ESMTPSA id v45sm16472210wrb.68.2017.06.11.04.15.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 11 Jun 2017 04:15:04 -0700 (PDT) Content-Disposition: inline In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::231 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:215574 Archived-At: On Sun, Jun 11, 2017 at 10:34:40AM +0000, Philipp Stephani wrote: > Alan Third schrieb am So., 11. Juni 2017 um 01:44 Uhr: > > > Re. commit 517c704a6360356e62752f581c71b38a479e2f59 > > > > NS has it’s own built‐in image support, so therefore doesn’t define > > HAVE_PNG, etc. > > > > What was the actual compiler warning? > > > > I don't remember the exact wording, but it was that the static function is > unused. That makes sense, because macOS doesn't call > x_query_frame_background_color unless one of the graphic libraries is also > available. Ah, I see. Thanks for explaining. :) -- Alan Third