Hi,
My environment, gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98),
requires the following patch to build CVS-head Emacs again.
Please apply this.
2006-11-17 Tetsurou Okazaki <[EMAIL PROTECTED]> (tiny change)
* xterm.c (do_ewmh_fullscreen): Declare variable before XSETFRAME
to avoid gcc 2.96 error.
%%%
diff -c -r1.931 xterm.c
*** src/xterm.c 10 Nov 2006 08:00:47 -0000 1.931
--- src/xterm.c 17 Nov 2006 05:08:57 -0000
***************
*** 8333,8345 ****
if (have_net_atom)
{
Lisp_Object frame;
- XSETFRAME (frame, f);
const char *atom = "_NET_WM_STATE";
const char *fs = "_NET_WM_STATE_FULLSCREEN";
const char *fw = "_NET_WM_STATE_MAXIMIZED_HORZ";
const char *fh = "_NET_WM_STATE_MAXIMIZED_VERT";
const char *what = NULL;
/* If there are _NET_ atoms we assume we have extended window manager
hints. */
switch (f->want_fullscreen)
--- 8333,8346 ----
if (have_net_atom)
{
Lisp_Object frame;
const char *atom = "_NET_WM_STATE";
const char *fs = "_NET_WM_STATE_FULLSCREEN";
const char *fw = "_NET_WM_STATE_MAXIMIZED_HORZ";
const char *fh = "_NET_WM_STATE_MAXIMIZED_VERT";
const char *what = NULL;
+ XSETFRAME (frame, f);
+
/* If there are _NET_ atoms we assume we have extended window manager
hints. */
switch (f->want_fullscreen)
%%%
--
Tetsurou Okazaki
_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug