emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Falling to build


From: john
Subject: Re: Falling to build
Date: Wed, 1 Jan 2020 17:38:04 +0000 (GMT)
User-agent: Alpine 2.21 (DEB 202 2017-01-01)

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 <address@hidden>

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]