[FFmpeg-devel] [PATCH] don't include intypes.h directly
Dave Yeo
daveryeo
Sat Nov 10 22:25:01 CET 2007
On 11/10/07 11:45 am, Rich Felker wrote:
> On Sat, Nov 10, 2007 at 05:59:29PM +0000, M?ns Rullg?rd wrote:
>>> Except some platforms don't have stuff in that header but in another
>>> (like inttypes.h).
>> Those platforms should be fixed or ignored.
>
> Both inttypes.h and stdint.h are in the C99 standard, but ffmpeg aims
> (afaik) to use a minimal subset of C99 that's more compatible with
> historical systems. inttypes.h exists on almost all historical systems
> and is probably also part of a pre-C99 POSIX or XOPEN standard. I've
> never heard of a system that has stdint.h but lacks inttypes.h.
>
> Rich
FYI the IBM OS/2 toolkit contains neither stdint.h or inttypes.h. The
toolkit claims to mostly meet these specifications.
The American National Standards Institute C Standard and International
Standards Organization, ANSI/ISO 9899-1990[1992], and the amendment
ISO/IEC 9899:1990/Amendment 1:1993(E)
The ISO/IEC 9945-1:1990/IEEE POSIX 1003.1-1990 standard
The X/Open Common Applications Environment Specification, System
Interfaces and Headers, Issue 4
The IBM Systems Application Architecture (SAA) C Level 2 language
definition.
Not that it matters as ffmpeg is not linked against the toolkit here.
Dave
More information about the ffmpeg-devel
mailing list