[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: |
Sun, 17 Sep 2017 17:29:20 +0300 |
> Cc: address@hidden, address@hidden
> From: Paul Eggert <address@hidden>
> Date: Sat, 16 Sep 2017 23:40:05 -0700
>
> Eli Zaretskii wrote:
> > Not sure what to do about this. Add 'volatile' to the declaration of
> > 'c'?
>
> Looks like a GCC bug. To work around it, please try CACHEABLE instead of
> volatile, to warn the reader that it's a compiler-bug workaround. Like this:
>
> struct handler *CACHEABLE c = handlerlist->nextfree;
Richard, Fabrice -- could you try this, please?
> > This seems to imply that m4/manywarnings.m4 has a bug: it somehow
> > deduces that a 64-bit Windows build can only allocate up to LONG_MAX
> > bytes.
>
> That is due to a limitation in AC_COMPUTE_INT: it can't handle numbers larger
> than LONG_MAX. I attempted to work around this limitation by changing Gnulib
> to
> assume that the correct value is 2**63 - 1 if it doesn't fit in 'long', and
> by
> merging the latest Gnulib into the emacs-26 branch. Please give it a try.
Did you forget to push this to the Emacs repository? Or am I blind?
Thanks.
- Re: Suspicious warning in W64 build, (continued)
- Re: Suspicious warning in W64 build, Eli Zaretskii, 2017/09/16
- Re: Suspicious warning in W64 build, Eli Zaretskii, 2017/09/15
- Re: Suspicious warning in W64 build, Eli Zaretskii, 2017/09/15
- Re: Suspicious warning in W64 build, Paul Eggert, 2017/09/17
- Re: Suspicious warning in W64 build, Richard Copley, 2017/09/17
- Re: Suspicious warning in W64 build, Eli Zaretskii, 2017/09/17
- Re: Suspicious warning in W64 build, Paul Eggert, 2017/09/17
- Re: Suspicious warning in W64 build,
Eli Zaretskii <=
- Re: Suspicious warning in W64 build, Fabrice Popineau, 2017/09/17
- Re: Suspicious warning in W64 build, Eli Zaretskii, 2017/09/17
- Re: Suspicious warning in W64 build, Paul Eggert, 2017/09/17
- Re: Suspicious warning in W64 build, Fabrice Popineau, 2017/09/18
- Re: Suspicious warning in W64 build, Eli Zaretskii, 2017/09/18
- Re: Suspicious warning in W64 build, Richard Stallman, 2017/09/17
- Re: Suspicious warning in W64 build, Fabrice Popineau, 2017/09/14
- Re: Suspicious warning in W64 build, Andy Moreton, 2017/09/14
- Re: Suspicious warning in W64 build, Fabrice Popineau, 2017/09/15
- Re: Suspicious warning in W64 build, Eli Zaretskii, 2017/09/15