[FFmpeg-devel] [PATCH] Fix warnings about int64 to int32conversion

Reimar Döffinger Reimar.Doeffinger at gmx.de
Wed May 16 11:58:57 CEST 2012


On 16 May 2012, at 10:39, "Don Moir" <donmoir at comcast.net> wrote:
> ----- Original Message ----- From: "Carl Eugen Hoyos" <cehoyos at ag.or.at>
> To: <ffmpeg-devel at ffmpeg.org>
> Sent: Wednesday, May 16, 2012 4:22 AM
> Subject: Re: [FFmpeg-devel] [PATCH] Fix warnings about int64 to int32conversion
> 
> 
>> Don Moir <donmoir <at> comcast.net> writes:
>> 
>>> and you don't want to have to disable warning C4244 in general.
>> 
>> (Why?)
>> I assume it is possible to disable (and re-enable) the warning
>> with a pragma directive, please find out how it has to look and
>> send a patch, it will probably not affect sane compilers.
>> 
> 
> Thats what I do when I include ffmpeg headers (prefer not to), but why pass this down to everyone else that might run into this ?

He was asking for a pragma, and my guess is that the idea would be to add the pragma to the header which in the long term at least is likely to mean less clutter and is more self-explantory.
I admit I am not sure how well it would work out in reality though.


More information about the ffmpeg-devel mailing list