emacs-devel
[Top][All Lists]
Advanced

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

Re: Suspicious warning in W64 build


From: Eli Zaretskii
Subject: Re: Suspicious warning in W64 build
Date: Thu, 07 Sep 2017 21:58:54 +0300

> From: Richard Copley <address@hidden>
> Date: Thu, 7 Sep 2017 18:52:35 +0100
> Cc: Eli Zaretskii <address@hidden>, Emacs Development <address@hidden>
> 
> 18446744065119617024 is 1<<64.
> The other number is (1<<64) - (1<<33) - (1<<2).

Yes, I know.  I just don't understand why GCC things that

   nglyphs * sizeof (WORD) * 2

can have a value in this range.  The type of nglyphs is 'int', and
sizeof(WORD) gives 2.  So the range should be between 0 (or 4) and 4
times INT_MAX, which is nowhere near the values GCC displays.



reply via email to

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