Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Tool to convert C99 code to MSVC-compatible C89
C Perl
Pull request Compare This branch is 26 commits behind libav:master.
Latest commit 47826cc @rbultje Add an assertion if particular indices in an array/struct are duplica…

Fix struct/array index lookup if the previous entry used a designated
initializer, but this particular entry didn't. In that case, our index
is the previous member's index + 1, but we used to use the counter as
index, which is wrong.

Also fix the unit test, which contained code triggering both problems,
which ended up going in an infinite loop.


Tool to convert C99 code to MSVC-compatible C89


c99-to-c89 is based on LibClang, any clang version from 3.1 is known to work.


c99conv converts preprocessed C sources, the provided c99wrap uses the C preprocessor, converts its output and feeds it to the C compiler.

c99wrap $CC $CFLAGS source

Something went wrong with that request. Please try again.