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 18:16:06 +0300

> Date: Tue, 5 Sep 2017 15:38:15 +0200 (CEST)
> From: Angelo Graziosi <address@hidden>
> 
> In the log build of current master on MSYS2/MINGW64, I see:
> 
> [...]
> CC       w32term.o
> C:/msys64/tmp/src/src/w32font.c: In function 'w32font_text_extents':
> C:/msys64/tmp/src/src/w32font.c:547:9: warning: argument 1 range 
> [18446744065119617024, 18446744073709551612] exceeds maximum object size 
> 9223372036854775807 [-Walloc-size-larger-than=]
>    wcode = alloca (nglyphs * sizeof (WORD) * 2);
>          ^
> C:/msys64/tmp/src/src/w32font.c:547:9: note: in a call to built-in allocation 
> function '__builtin_alloca'

What version of GCC produces this warning?  I don't see it with GCC
6.3.0, or maybe it's because my builds are 32-bit, not 64-bit.

In any case, I have difficulty understanding this part:

  argument 1 range [18446744065119617024, 18446744073709551612]

Where did it take these 2 numbers?



reply via email to

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