[FFmpeg-devel] use of UINT64_C in libavutil/common.h

Luca Barbato lu_zero
Thu May 6 19:19:16 CEST 2010


On 05/06/2010 04:23 PM, VALETTE Eric RD-MAPS-REN wrote:
> On 05/06/2010 04:21 PM, Ronald S. Bultje wrote:
>> Hi,
>>
>> On Thu, May 6, 2010 at 8:48 AM, VALETTE Eric RD-MAPS-REN
>> <eric2.valette at orange-ftgroup.com>  wrote:
>>   
>>> On 05/06/2010 10:55 AM, Luca Barbato wrote:
>>>     
>>>> On 05/05/2010 01:18 PM, VALETTE Eric RD-MAPS-REN wrote:
>>>>       
>>>>> This define is defined in<stdint.h>    The simple include<stdint.h>
>>>>> should either be replaced by:
>>>>>          
>>>> you might add -D__STDC_CONSTANT_MACROS to your CXXFLAGS
>>>>        
>>> Doing that you push the burden on all the client of the file which I
>>> personally find bad practice.
>>>      
>> But we do that anyway.
>>
>> Do you intend us to provide header files, wrappers, bindings etc. for
>> all languages out there, like c#, java, fortran, etc. (all the ones
>> Mans mentioned)?
>>
>> If the answer is "no", then what makes c++ so special/different?
> Why does the libc provides include file for C++ program if I follow you?
> 
> Simply becasue C++ has provision to include C headers.

AND libc requires YOU to define the correct symbol if you want those macros.

PLEASE at least read the manpages.

lu

-- 

Luca Barbato
Gentoo/linux
http://dev.gentoo.org/~lu_zero




More information about the ffmpeg-devel mailing list