[Top][All Lists]

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

Re: Emacs build fails [MSYS2/MINGW64]

From: Paul Eggert
Subject: Re: Emacs build fails [MSYS2/MINGW64]
Date: Tue, 30 Apr 2019 09:49:29 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

On 4/30/19 8:45 AM, Eli Zaretskii wrote:
>> From: Paul Eggert <address@hidden>
>> Date: Mon, 29 Apr 2019 12:38:02 -0700
>> Cc: address@hidden, address@hidden
>> -#if __has_attribute (cold)
>> +/* Avoid __attribute__ ((cold)) on MinGW; see thread starting at
>> +   <https://lists.gnu.org/r/emacs-devel/2019-04/msg01152.html>. */
>> +#if __has_attribute (cold) && !defined __MINGW32__
> We defined __has_attribute_cold, so no need to use __has_attribute
> here, right?

conf_post.h defines __has_attribute_cold only on older compilers that
lack support for __has_attribute. So we still need to use
__has_attribute here, for newer compilers (GCC 5 and later, for example).

reply via email to

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