[FFmpeg-devel] [PATCH] Fix warnings about int64toint32conversion

Don Moir donmoir at comcast.net
Wed May 16 15:46:23 CEST 2012


----- Original Message ----- 
From: "Reimar Döffinger" <Reimar.Doeffinger at gmx.de>
To: "FFmpeg development discussions and patches" <ffmpeg-devel at ffmpeg.org>
Sent: Wednesday, May 16, 2012 9:16 AM
Subject: Re: [FFmpeg-devel] [PATCH] Fix warnings about 
int64toint32conversion


> On Wed, May 16, 2012 at 08:15:27AM -0400, Don Moir wrote:
>> All I know Reimar is you usually will complain and thats a good
>> thing, but you usually end up doing the right thing. If your
>> principles are so much that you wish to proagate these warnings,
>> then it is what it is and the warnings will continue. There is
>> probably nothing one can do to make MS change this and it would
>> probably be just another waste of time.
>
> I am not so pessimistic. For example they do seem to have a special
> case for not warning about
> uint32_t = uint64_t & 0xffffffffu;
> (at least in 2010 version, no idea what version you use?)
> So I believe there is a chance that at least the trivial x >> 32 case
> would be fixed (unless it already is, just not in the version you use?).
> Thus I do believe it would be a good idea and possibly not completely
> wasted time to make trivial test cases out of these and submit them
> as enhancement requests.
> I don't think I personally will be motivated to, plus I am not even
> a paying customer so not really the best person to do it anyway.

Not just me getting the warnings as I didn't even start this thread but I 
use 2008, skipping 2010 and hoping for improvements with 2012 :) 



More information about the ffmpeg-devel mailing list