On 11/03/2017 01:26 AM, Gerald Pfeifer wrote:
Hi, Gerald.
Is this warning enabled by default in some release clang version? I'm not necessarily opposed in silencing it like that, but I imagine you'll see many more instances like that, and if it's not default set of warnings I don't know if we should bother.
On Sat, 4 Nov 2017, Nikolay Sivov wrote:
Yes, this happens with completely default clang as it is the system compiler on FreeBSD 10, reporting itself as clang 3.4.1.
Otherwise I would probably side with "let's not bother" as well (and usually use GCC to build Wine).
Gerald
On Sun, 5 Nov 2017, Nikolay Sivov wrote:
I can reproduce with clang 3.8.1 on Debian, just sent a fix that does not use casting. Thanks for reporting.
Ah, cool. Thanks, Nikolay!
Looking at a build log with clang, I noticed a number of further issues and will try to submit some changes as time allows.
Gerald