From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eugene Mah Newsgroups: gmane.emacs.bugs Subject: bug#36115: 27.0.50; Git master branch compile error with --with-cairo configure flag Date: Thu, 6 Jun 2019 09:40:14 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000008217fd058aa7db5e" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="208422"; mail-complaints-to="usenet@blaine.gmane.org" To: 36115@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 06 16:14:27 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hYt9s-000rzG-9e for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Jun 2019 16:14:27 +0200 Original-Received: from localhost ([127.0.0.1]:33043 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYt9n-0002w3-NU for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Jun 2019 10:14:19 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:51503) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYt9c-0002vl-BE for bug-gnu-emacs@gnu.org; Thu, 06 Jun 2019 10:14:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hYt9X-0006ED-50 for bug-gnu-emacs@gnu.org; Thu, 06 Jun 2019 10:14:08 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36791) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hYt9W-0006DE-VY for bug-gnu-emacs@gnu.org; Thu, 06 Jun 2019 10:14:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hYt9W-0001j5-MP for bug-gnu-emacs@gnu.org; Thu, 06 Jun 2019 10:14:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eugene Mah Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Jun 2019 14:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 36115 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15598304226600 (code B ref -1); Thu, 06 Jun 2019 14:14:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Jun 2019 14:13:42 +0000 Original-Received: from localhost ([127.0.0.1]:50335 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hYt9B-0001iN-VI for submit@debbugs.gnu.org; Thu, 06 Jun 2019 10:13:42 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:58519) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hYsll-0000uU-AP for submit@debbugs.gnu.org; Thu, 06 Jun 2019 09:49:29 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:34032) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hYslb-0006tm-Ku for submit@debbugs.gnu.org; Thu, 06 Jun 2019 09:49:20 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44340) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYslZ-0006a6-O8 for bug-gnu-emacs@gnu.org; Thu, 06 Jun 2019 09:49:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hYsdB-0008Qv-Ip for bug-gnu-emacs@gnu.org; Thu, 06 Jun 2019 09:40:41 -0400 Original-Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:40654) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hYsdB-0007v9-0l for bug-gnu-emacs@gnu.org; Thu, 06 Jun 2019 09:40:37 -0400 Original-Received: by mail-wr1-x431.google.com with SMTP id p11so2478057wre.7 for ; Thu, 06 Jun 2019 06:40:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=bjsPflZQ+uBI03jJe5x2jqPBGbzZdRvlx60yOfJjARE=; b=AU08Ldmgs8Ib1FC0CdQn2uhvTgFg7xFqGL6v+FbW5ijCfOy+5msNtPdkV0krNtpvqS NKD9n41oikwzwaT3DDOdHpnw6MnsOvTOAMVc6NcfLjCK1AsERqhG6Jh0JyowIdSN5E+P AGYWo6x5mHLzacSJGCpsGa4+SGF5YrO4jpJBzqCRr2xuuOUw0JfA8L8j3G88m70uslG2 sHvDf1yoIZqkginTSkzpp/e252t5MAxlqeWrtB/4vMtHM4YKWx+W2LSa7S1Mt5NuRr+M JdTZl+4BJB9Tc5e6g3SmOw4aGUkfTvGtedsECMaIQJd7fdk7oZyzEoHoBUxLqJ1alSbw Fzig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=bjsPflZQ+uBI03jJe5x2jqPBGbzZdRvlx60yOfJjARE=; b=l+dNzfJdixmh9B+aQY5uiVoUVKtOwPWDqIL85UEBQn0Zgqoq4OyrqctXN+Ooh09CIi VAj3VDA9pEM+B1r5nmKgslwnC7522QK8i9YUL5F2Ue2Ed0iS0gm8Dh9ZrO9SE4nilQn2 6w0lGN2Kc8QaRlvzgUfid++VBRXtethiTYAhLLCTPHm+yZtj46OhX69IhV0Na4lC+Fd5 HAiSt/CtyyzJnDcwWbqC5jWzZJqSjITGYGK8ChJ1vJhjz8pZH0K/kyROYLA8VIwuLcBk PXkB0KqQgqjPjlwCqidpO1vZkuuca7fVNgDmE4lHabeAs876UoRp89rIM3WgScJWmsPX C2tw== X-Gm-Message-State: APjAAAVQqdUafG+SuUXHalB9xE02VMQLC1MTd+ChikobScbBdfnJ4EE6 zq26CVY/i/3Qj4mhhtJLQ8v0rwEOJfeQ68UYDrlgbhoe0v8= X-Google-Smtp-Source: APXvYqxceXO/v6eoN+84xIhc7DOFGN6yugL8shRx/iIg3pwqBqPqN+Siu531rCd1gGkqLVmG4Ldj3+w1mWVj5YWzbqA= X-Received: by 2002:a5d:414c:: with SMTP id c12mr16639679wrq.88.1559828430459; Thu, 06 Jun 2019 06:40:30 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Thu, 06 Jun 2019 10:13:40 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:160182 Archived-At: --0000000000008217fd058aa7db5e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable When compiling the latest git master branch, the following error occurs: image.c: In function =E2=80=98image_set_crop=E2=80=99: image.c:2046:16: error: =E2=80=98width=E2=80=99 undeclared (first use in th= is function); did you mean =E2=80=98Qwidth=E2=80=99? 2046 | img->width =3D width; | ^~~~~ | Qwidth image.c:2046:16: note: each undeclared identifier is reported only once for each function it appears in image.c:2047:17: error: =E2=80=98height=E2=80=99 undeclared (first use in t= his function); did you mean =E2=80=98Qheight=E2=80=99? 2047 | img->height =3D height; | ^~~~~~ | Qheight make[1]: *** [Makefile:394: image.o] Error 1 Configured using: './configure --prefix=3D/opt --with-wide-int --with-sound --with-xwidgets --with-x --with-modules --with-x-toolkit=3Dgtk3 --with-cairo' When the --with-cairo flag is omitted, master branch compiles without issue. The error occurs in the image_set_crop() function, so perhaps related to this commit http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=3D610fb73ab6d7a22b722= f523d6ebc4aa8fa1db7c9 Eugene --------------------------------------------------------------------- Eugene Mah, M.Sc., DABR eugenemah@gmail.com Medical Physicist maheug@musc.edu "For I am a Bear of Very Little Brain, and long words Bother Charleston, SC 29425 me." - Winnie the Pooh http://v16.imablog.net/ Jabber: imabug@imabug.net http://blog.ab4ug.net/ PGP KeyID PGP key available on request O= - 0x56B705CAE9542BB8 --------------------------------------------------------------------- --0000000000008217fd058aa7db5e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

When compiling the latest git master branch, the follo= wing error occurs:

image.c: In function =E2=80=98image_set_crop=E2= =80=99:
image.c:2046:16: error: =E2=80=98width=E2=80=99 undeclared (firs= t use in this function); did you mean =E2=80=98Qwidth=E2=80=99?
=C2=A020= 46 | =C2=A0 img->width =3D width;
=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^~~~~
=C2=A0 =C2=A0 =C2=A0 = | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Qwidth
image.c:= 2046:16: note: each undeclared identifier is reported only once for each fu= nction it appears in
image.c:2047:17: error: =E2=80=98height=E2=80=99 un= declared (first use in this function); did you mean =E2=80=98Qheight=E2=80= =99?
=C2=A02047 | =C2=A0 img->height =3D height;
=C2=A0 =C2=A0 =C2= =A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^~~~~~
=C2= =A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= Qheight
make[1]: *** [Makefile:394: image.o] Error 1


Configu= red using:
'./configure --prefix=3D/opt --with-wide-int --with-sound= --with-xwidgets --with-x --with-modules --with-x-toolkit=3Dgtk3 --with-cai= ro'

When the --with-cairo flag is omitted, master branch compile= s without
issue.

The error occurs in the image_set_crop() functio= n, so perhaps related to
this commit h= ttp://git.savannah.gnu.org/cgit/emacs.git/commit/?id=3D610fb73ab6d7a22b722f= 523d6ebc4aa8fa1db7c9

Eugene
---------------------------------------------------------------------
E= ugene Mah, M.Sc., DABR =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 eugenemah@gmail.com
Medical Physicist =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0
m= aheug@musc.edu
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 "For I am a Bear of Very Little
=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Brain, and long words Bother
Charl= eston, SC 29425 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 me." - Winnie the Pooh
http://v16.imablog.net/ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 Jabber: imabug@imabug.net
http://blog.ab4ug.net/
PGP KeyID =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0PGP key available on request O-
0x56B705CAE95= 42BB8
------------------------------------------------------------------= ---
--0000000000008217fd058aa7db5e--