GNU bug report logs - #720
Patch to fix CVS Emacs compilation error on Windows XP SP2.

Previous Next

Packages: emacs, w32;

Reported by: Francis Litterio <flitterio <at> gmail.com>

Date: Thu, 14 Aug 2008 17:10:04 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Francis Litterio <flitterio <at> gmail.com>, 720 <at> debbugs.gnu.org,
        bug-gnu-emacs <at> gnu.org
Subject: bug#720: Patch to fix CVS Emacs compilation error on Windows XP SP2.
Date: Fri, 15 Aug 2008 15:34:36 -0400
> "Not implemented"?  I'm not sure we want to support such a deficient
> compiler.

Indeed we don't.

> How about this:

>   DWORD tot_hi = memstex.ullTotalPhys >> 32;
>   DWORD tot_md = (memstex.ullTotalPhys & 0x00000000ffffffffLL) >> 10;
>   DWORD tot_lo = memstex.ullTotalPhys % 1024LL;
>   totphys = tot_hi * 4194304.0 + tot_md + tot_lo / 1024.0;

> Does this work?

Please don't install such hideous code just to work around a deficiency
in an obsolete proprietary compiler.  Especially since there's
a perfectly good Free alternative available.


        Stefan





This bug report was last modified 16 years and 342 days ago.

Previous Next


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