|Subject:||Re: Warnings in mingw64 builds on master|
|Date:||Sun, 16 Aug 2020 08:25:33 -0700|
|User-agent:||Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0|
I'd rather we removed -Wsuggest-attribute=malloc from the options we use.That option is useful for the non-w32 source code.Useful how?
It lets both the human reader and the compiler know that the storage addressed by the function's result cannot alias with any other storage. I find this helpful when reading the code because it lets me not worry about aliasing, and compilers can use this info to generate more-efficient code.
|[Prev in Thread]||Current Thread||[Next in Thread]|