[x264-devel] Re: x264: svn commit r288 (titer)

Måns Rullgård mru at inprovide.com
Mon Aug 29 15:48:12 CEST 2005


Eric Petit <titer at m0k.org> writes:

> Måns Rullgård wrote:
>>>r288 | titer | 2005-08-29 13:20:23 +0200 (Mon, 29 Aug 2005) | 3 lines
>>>Changed paths:
>>>   M /trunk/x264.h
>>>
>>> x264.h: issue an explicit warning when neither stdint.h nor inttypes.h
>>> has be included before x264.h
>> This will give bogus warnings on some platforms.  For instance, AIX
>> inttypes.h defines _H_INTTYPES (stdint.h is missing), and on FreeBSD
>> stdint.h is a symlink to sys/stdint.h, and defines _SYS_STDINT_H_.
>
>   This is why I put only a #warning and not an #error. People are
>   welcome to fix it for their platform, unless there is a cleaner way
>   to check...

Well, if the required types are not defined, the compilation will
fail.  Really, x264 doesn't care where the typedefs come from, but I
guess this is to help people that get a three-page list of parse
errors figuring out what's going on.

-- 
Måns Rullgård
mru at inprovide.com

-- 
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html



More information about the x264-devel mailing list