|
From: | Paul Eggert |
Subject: | Re: Warnings in mingw64 builds on master |
Date: | Sat, 15 Aug 2020 15:34:24 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 8/15/20 12:03 PM, Eli Zaretskii wrote:
I'd rather we removed -Wsuggest-attribute=malloc from the options we use.
That option is useful for the non-w32 source code. If we want to disable it in MinGW we could add something like
#if defined __MINGW32__ && 8 <= __GNUC__ # pragma GCC diagnostic ignored "-Wsuggest-attribute=malloc" #endif to src/w32.h.
[Prev in Thread] | Current Thread | [Next in Thread] |