Re: [AC21.5] Cleaning out old work #1: double-cast to fix C++ build
"Stephen J. Turnbull" <[email protected]> Thu, 7 Jan 2016 15:51:06 +0900
| Newsgroups | gmane.emacs.xemacs.patches |
|---|---|
| Message-ID | <[email protected]> |
Jerry James wrote: > On Sun, Jan 3, 2016 at 8:44 PM, Stephen J. Turnbull <[email protected]> wrote: >> I wonder if maybe "long" shouldn't be "EMACS_INT"? In theory >> EMACS_INT could be long long on some platform to accomodate void*, >> IIRC. > Yes, it should be a pointer-sized int, which is exactly what > EMACS_INT is supposed to be. I should have thought of that way > back when. Thanks for the followup! But ... ... oops. EMACS_INT gets defined in lisp.h, which is not #included in lwlib implementations. config.h *does* get #included, though. I'll look at moving the detection code to config.h. Someday ... Anyway, the original patch is good enough for now, I think. We'll cross that bridge when we come to it. Steve