[Ffmpeg-devel] [PATCH] Partial port of ffmpeg to MS Visual C - and a note on the inttypes.h issue

Baptiste Coudurier baptiste.coudurier
Thu Feb 8 10:58:14 CET 2007


Hi

Yuri Vilmanis wrote:
> [...]
>
> If you take a look at the C99 standard, you'll find under the library
> summary (Annex B) that inttypes.h (Section B.7) is for "Format
> conversion of integer types" and defines macros for integer type
> conversions. stdint.h (Section B.7) is for "Integer types", and includes
> all the type definitions for extended integers, including all types of
> the form uintN_t and intN_t.
> 
> [...]
> 
> "4 For each type described herein that the implementation provides,218)
> <stdint.h> shall declare that typedef name and define the associated
> macros. Conversely, for each type described herein that the
> implementation does not provide, <stdint.h> shall not declare that
> typedef name nor shall it define the associated macros. An
> implementation shall provide those types described as ??required??, but
> need not provide any of the others (described as ??optional??)."

[...]

> [...]
> 
> "3 These types are optional. However, if an implementation provides
> integer types with widths of 8, 16, 32, or 64 bits, no padding bits, and
> (for the signed types) that have a two?s complement representation, it
> shall define the corresponding typedef names."
> 

Does that would mean we are using an optional feature ? If that is the
case IMHO we should reintroduce emulate inttypes.

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312




More information about the ffmpeg-devel mailing list