unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#36115: 27.0.50; Git master branch compile error with --with-cairo configure flag
@ 2019-06-06 13:40 Eugene Mah
  2019-06-07 12:05 ` Noam Postavsky
  0 siblings, 1 reply; 4+ messages in thread
From: Eugene Mah @ 2019-06-06 13:40 UTC (permalink / raw)
  To: 36115

[-- Attachment #1: Type: text/plain, Size: 1755 bytes --]

When compiling the latest git master branch, the following error occurs:

image.c: In function ‘image_set_crop’:
image.c:2046:16: error: ‘width’ undeclared (first use in this function);
did you mean ‘Qwidth’?
 2046 |   img->width = 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: ‘height’ undeclared (first use in this function);
did you mean ‘Qheight’?
 2047 |   img->height = height;
      |                 ^~~~~~
      |                 Qheight
make[1]: *** [Makefile:394: image.o] Error 1


Configured using:
'./configure --prefix=/opt --with-wide-int --with-sound --with-xwidgets
--with-x --with-modules --with-x-toolkit=gtk3 --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=610fb73ab6d7a22b722f523d6ebc4aa8fa1db7c9

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
---------------------------------------------------------------------

[-- Attachment #2: Type: text/html, Size: 2507 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#36115: 27.0.50; Git master branch compile error with --with-cairo configure flag
  2019-06-06 13:40 bug#36115: 27.0.50; Git master branch compile error with --with-cairo configure flag Eugene Mah
@ 2019-06-07 12:05 ` Noam Postavsky
  2019-06-07 16:48   ` Alan Third
  0 siblings, 1 reply; 4+ messages in thread
From: Noam Postavsky @ 2019-06-07 12:05 UTC (permalink / raw)
  To: Eugene Mah; +Cc: 36115

tags 36115 fixed
close 36115 
quit

Eugene Mah <eugenemah@gmail.com> writes:

> When compiling the latest git master branch, the following error occurs:
>
> image.c: In function ‘image_set_crop’:
> image.c:2046:16: error: ‘width’ undeclared (first use in this function);
> did you mean ‘Qwidth’?
>  2046 |   img->width = width;

> 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=610fb73ab6d7a22b722f523d6ebc4aa8fa1db7c9

I believe this was fixed yesterday.

c8123b45f7 2019-06-06T09:07:36-04:00 "Restore height and with from that were accidentally removed"
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=c8123b45f7b9b660db2040ee85c3a2fd260d3f16






^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#36115: 27.0.50; Git master branch compile error with --with-cairo configure flag
  2019-06-07 12:05 ` Noam Postavsky
@ 2019-06-07 16:48   ` Alan Third
  2019-06-07 18:18     ` Alan Third
  0 siblings, 1 reply; 4+ messages in thread
From: Alan Third @ 2019-06-07 16:48 UTC (permalink / raw)
  To: Noam Postavsky; +Cc: Eugene Mah, 36115

On Fri, Jun 07, 2019 at 08:05:50AM -0400, Noam Postavsky wrote:
> tags 36115 fixed
> close 36115 
> quit
> 
> Eugene Mah <eugenemah@gmail.com> writes:
> 
> > When compiling the latest git master branch, the following error occurs:
> >
> > image.c: In function ‘image_set_crop’:
> > image.c:2046:16: error: ‘width’ undeclared (first use in this function);
> > did you mean ‘Qwidth’?
> >  2046 |   img->width = width;
> 
> > 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=610fb73ab6d7a22b722f523d6ebc4aa8fa1db7c9
> 
> I believe this was fixed yesterday.
> 
> c8123b45f7 2019-06-06T09:07:36-04:00 "Restore height and with from that were accidentally removed"
> https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=c8123b45f7b9b660db2040ee85c3a2fd260d3f16

I hadn’t noticed this. I suspect a merge from master has transposed
part of image_set_size into image_set_crop in my local branch and I
failed to see it before pushing.

I’ll sort this out asap.
-- 
Alan Third





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#36115: 27.0.50; Git master branch compile error with --with-cairo configure flag
  2019-06-07 16:48   ` Alan Third
@ 2019-06-07 18:18     ` Alan Third
  0 siblings, 0 replies; 4+ messages in thread
From: Alan Third @ 2019-06-07 18:18 UTC (permalink / raw)
  To: Noam Postavsky; +Cc: Eugene Mah, 36115

On Fri, Jun 07, 2019 at 05:48:26PM +0100, Alan Third wrote:
> On Fri, Jun 07, 2019 at 08:05:50AM -0400, Noam Postavsky wrote:
> > tags 36115 fixed
> > close 36115 
> > quit
> > 
> > Eugene Mah <eugenemah@gmail.com> writes:
> > 
> > > When compiling the latest git master branch, the following error occurs:
> > >
> > > image.c: In function ‘image_set_crop’:
> > > image.c:2046:16: error: ‘width’ undeclared (first use in this function);
> > > did you mean ‘Qwidth’?
> > >  2046 |   img->width = width;
> > 
> > > 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=610fb73ab6d7a22b722f523d6ebc4aa8fa1db7c9
> > 
> > I believe this was fixed yesterday.
> > 
> > c8123b45f7 2019-06-06T09:07:36-04:00 "Restore height and with from that were accidentally removed"
> > https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=c8123b45f7b9b660db2040ee85c3a2fd260d3f16
> 
> I hadn’t noticed this. I suspect a merge from master has transposed
> part of image_set_size into image_set_crop in my local branch and I
> failed to see it before pushing.
> 
> I’ll sort this out asap.

Never mind, Yamamoto Mitsuharu got there before me:

https://git.savannah.gnu.org/cgit/emacs.git/commit/src/image.c?id=3a1f92d09bbcb4dbd2a2ebe1bee0e564e51c4615
-- 
Alan Third





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-06-07 18:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-06 13:40 bug#36115: 27.0.50; Git master branch compile error with --with-cairo configure flag Eugene Mah
2019-06-07 12:05 ` Noam Postavsky
2019-06-07 16:48   ` Alan Third
2019-06-07 18:18     ` Alan Third

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).