unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Falling to build
@ 2020-01-01 16:34 John
  2020-01-01 17:22 ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: John @ 2020-01-01 16:34 UTC (permalink / raw)
  To: emacs-devel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1366 bytes --]

This morning all OK in building on openSuSe x86_64 until this happens

  CC       xfns.o
xfns.c: In function ‘Fx_display_monitor_attributes_list’:
xfns.c:5072:30: warning: implicit declaration of function ‘x_get_net_workarea’; did you mean ‘x_set_undecorated’? [-Wimplicit-function-declaration]
  if (i == primary_monitor && x_get_net_workarea (dpyinfo, &workarea_r))
                              ^~~~~~~~~~~~~~~~~~
                              x_set_undecorated
xfns.c:5072:30: warning: nested extern declaration of ‘x_get_net_workarea’ [-Wnested-externs]
make -C ../admin/charsets all
make[2]: Entering directory '/home/jpff/GNU/emacs/admin/charsets'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/jpff/GNU/emacs/admin/charsets'
make -C ../admin/unidata charscript.el
make[2]: Entering directory '/home/jpff/GNU/emacs/admin/unidata'
make[2]: Nothing to be done for 'charscript.el'.
make[2]: Leaving directory '/home/jpff/GNU/emacs/admin/unidata'
  CCLD     temacs
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: xfns.o: in function `Fx_display_monitor_attributes_list':
/home/jpff/GNU/emacs/src/xfns.c:5072: undefined reference to `x_get_net_workarea'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:651: temacs] Error 1

Should I try a make bootstrap or what?
==John ffitch



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

* Falling to build
@ 2020-01-01 16:35 John
  0 siblings, 0 replies; 7+ messages in thread
From: John @ 2020-01-01 16:35 UTC (permalink / raw)
  To: emacs-devel

PS This is on master



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

* Re: Falling to build
  2020-01-01 16:34 Falling to build John
@ 2020-01-01 17:22 ` Eli Zaretskii
  2020-01-01 17:38   ` john
  0 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2020-01-01 17:22 UTC (permalink / raw)
  To: John; +Cc: emacs-devel

> Date: Wed,  1 Jan 2020 16:34:05 +0000
> From: John <jpff@codemist.co.uk>
> 
> This morning all OK in building on openSuSe x86_64 until this happens
> 
>   CC       xfns.o
> xfns.c: In function ‘Fx_display_monitor_attributes_list’:
> xfns.c:5072:30: warning: implicit declaration of function ‘x_get_net_workarea’; did you mean ‘x_set_undecorated’? [-Wimplicit-function-declaration]
>   if (i == primary_monitor && x_get_net_workarea (dpyinfo, &workarea_r))
>                               ^~~~~~~~~~~~~~~~~~
>                               x_set_undecorated
> xfns.c:5072:30: warning: nested extern declaration of ‘x_get_net_workarea’ [-Wnested-externs]

Does the patch below fix this?

diff --git a/src/xfns.c b/src/xfns.c
index b94666d..d0d5d39 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -4572,7 +4572,7 @@ DEFUN ("x-display-save-under", Fx_display_save_under,
     return Qnil;
 }
 
-#ifndef USE_GTK
+#if !defined USE_GTK || !defined HAVE_GTK3
 
 /* Store the geometry of the workarea on display DPYINFO into *RECT.
    Return false if and only if the workarea information cannot be



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

* Re: Falling to build
  2020-01-01 17:22 ` Eli Zaretskii
@ 2020-01-01 17:38   ` john
  2020-01-01 17:56     ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: john @ 2020-01-01 17:38 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

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

Yes; only oddity i saw was a message abaout an agresive macro -- but it 
went past too quickly fr me to capture te details.

Anyway no errors

==John ff

On Wed, 1 Jan 2020, Eli Zaretskii wrote:

>> Date: Wed,  1 Jan 2020 16:34:05 +0000
>> From: John <jpff@codemist.co.uk>
>>
>> This morning all OK in building on openSuSe x86_64 until this happens
>>
>>   CC       xfns.o
>> xfns.c: In function ‘Fx_display_monitor_attributes_list’:
>> xfns.c:5072:30: warning: implicit declaration of function ‘x_get_net_workarea’; did you mean ‘x_set_undecorated’? [-Wimplicit-function-declaration]
>>   if (i == primary_monitor && x_get_net_workarea (dpyinfo, &workarea_r))
>>                               ^~~~~~~~~~~~~~~~~~
>>                               x_set_undecorated
>> xfns.c:5072:30: warning: nested extern declaration of ‘x_get_net_workarea’ [-Wnested-externs]
>
> Does the patch below fix this?
>
> diff --git a/src/xfns.c b/src/xfns.c
> index b94666d..d0d5d39 100644
> --- a/src/xfns.c
> +++ b/src/xfns.c
> @@ -4572,7 +4572,7 @@ DEFUN ("x-display-save-under", Fx_display_save_under,
>     return Qnil;
> }
>
> -#ifndef USE_GTK
> +#if !defined USE_GTK || !defined HAVE_GTK3
>
> /* Store the geometry of the workarea on display DPYINFO into *RECT.
>    Return false if and only if the workarea information cannot be
>

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

* Re: Falling to build
  2020-01-01 17:38   ` john
@ 2020-01-01 17:56     ` Eli Zaretskii
  2020-01-01 19:05       ` Sven Joachim
  0 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2020-01-01 17:56 UTC (permalink / raw)
  To: john; +Cc: emacs-devel

> Date: Wed, 1 Jan 2020 17:38:04 +0000 (GMT)
> From: john <jpff@codemist.co.uk>
> Cc: emacs-devel@gnu.org
> 
> Yes

Thanks, I installed that change.

> only oddity i saw was a message abaout an agresive macro -- but it
> went past too quickly fr me to capture te details.

That's a known issue, to be fixed shortly.



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

* Re: Falling to build
  2020-01-01 17:56     ` Eli Zaretskii
@ 2020-01-01 19:05       ` Sven Joachim
  2020-01-01 19:17         ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Sven Joachim @ 2020-01-01 19:05 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel, john

On 2020-01-01 19:56 +0200, Eli Zaretskii wrote:

>> Date: Wed, 1 Jan 2020 17:38:04 +0000 (GMT)
>> From: john <jpff@codemist.co.uk>
>> Cc: emacs-devel@gnu.org
>>
>> Yes
>
> Thanks, I installed that change.

You did install it on master, but the problem still persists on the
emacs-27 branch.

Cheers,
       Sven



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

* Re: Falling to build
  2020-01-01 19:05       ` Sven Joachim
@ 2020-01-01 19:17         ` Eli Zaretskii
  0 siblings, 0 replies; 7+ messages in thread
From: Eli Zaretskii @ 2020-01-01 19:17 UTC (permalink / raw)
  To: Sven Joachim; +Cc: emacs-devel, jpff

> From: Sven Joachim <svenjoac@gmx.de>
> Cc: john <jpff@codemist.co.uk>,  emacs-devel@gnu.org
> Date: Wed, 01 Jan 2020 20:05:07 +0100
> 
> On 2020-01-01 19:56 +0200, Eli Zaretskii wrote:
> 
> >> Date: Wed, 1 Jan 2020 17:38:04 +0000 (GMT)
> >> From: john <jpff@codemist.co.uk>
> >> Cc: emacs-devel@gnu.org
> >>
> >> Yes
> >
> > Thanks, I installed that change.
> 
> You did install it on master, but the problem still persists on the
> emacs-27 branch.

Sorry, no one told me the change originated from the branch.  The
report was about master.

Should be fixed now.



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

end of thread, other threads:[~2020-01-01 19:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-01 16:34 Falling to build John
2020-01-01 17:22 ` Eli Zaretskii
2020-01-01 17:38   ` john
2020-01-01 17:56     ` Eli Zaretskii
2020-01-01 19:05       ` Sven Joachim
2020-01-01 19:17         ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2020-01-01 16:35 John

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