GNU bug report logs - #25128
Reorder lisp.h to declare types before using them

Previous Next

Package: emacs;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Wed, 7 Dec 2016 07:20:02 UTC

Severity: wishlist

Tags: patch

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 25128 <at> debbugs.gnu.org
Subject: bug#25128: Reorder lisp.h to declare types before using them
Date: Sun, 25 Dec 2016 19:59:38 +0200
> From: Paul Eggert <eggert <at> cs.ucla.edu>
> Date: Sun, 25 Dec 2016 09:38:14 -0800
> 
> I installed this patch, after fixing it up to work with the concurrency branch.

Thanks.

However, it breaks the MS-Windows 32-bit build --with-wide-int:

  In file included from scroll.c:25:0:
  lisp.h:1001:1: error: redefinition of 'XUNTAG'
   XUNTAG (Lisp_Object a, int type)
   ^
  In file included from scroll.c:25:0:
  lisp.h:630:2: note: previous definition of 'XUNTAG' was here
   (XUNTAG) (Lisp_Object a, int type)
    ^

and similarly in all the other files in src.

In case this matters, the compiler switches are

  CFLAGS = -O0 -gdwarf-4 -g3

Let me know if I can help by providing further information.

(A 64-bit GNU/Linux build succeeds, not surprisingly.)




This bug report was last modified 8 years and 145 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.