On Tue, Sep 01, 2020 at 09:57:41PM +0200, Christophe JAILLET wrote:
> I'll try to fix some of them but it is unlikely that I can fix all of them.
> Fixing them would require is many cases to add some casting. I'm not a big
> fan of having casting everywhere only to please a given compiler, when there
> is no real issue.
> 
> As I don't compile on Windows, I "blindly" fix things. Then I test with gcc.
> So, should we try to fix many things, I would need someone to refresh the
> list from time to time and check if a "fix" dos not introduce a new warning.

I suspect you can see many of the same integer conversion warnings if 
you use gcc -Wconversion but mostly these things are not worth spending 
time on since the behaviour is well-defined in C (I think).

It might be better to work out how to have the MSVC compiler suppress 
this specific warning and get it warning-free otherwise, IMO.

Regards, Joe

Reply via email to