emacs-devel
[Top][All Lists]
Advanced

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

Re: Patch to get clean compile on SLES11 Linux


From: Jan Djärv
Subject: Re: Patch to get clean compile on SLES11 Linux
Date: Thu, 15 Jul 2010 23:27:36 +0200
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1

EMACS_INT is long and EMACS_UINT is unsigned long. On a 64 bit compiler int is usually 32 bits and long 64.

        Jan D.


Fran skrev 2010-07-15 21.38:
BTW, the compiler error was complaining about a type mismatch between the
declaration of xmenu_show() at src/menu.h:45:

   extern Lisp_Object xmenu_show (FRAME_PTR, int, int, int, int,
                                  Lisp_Object, char **, EMACS_UINT);

and the definition at src/xmenu.c:2278:

   Lisp_Object
   xmenu_show (FRAME_PTR f, int x, int y, int for_click, int keymaps, 
Lisp_Object
title, char **error, unsigned int timestamp)

I don't know why EMACS_UINT was not the same as "unsigned int" on my system.
--
Fran





reply via email to

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