[vlc-devel] [PATCH] fix 32/64 bit bug

Remi Denis-Courmont rdenis at simphalempin.com
Thu Jul 3 13:59:54 CEST 2008

On Thu, 3 Jul 2008 11:30:03 +0100, "ogg.k.ogg.k at googlemail.com"
<ogg.k.ogg.k at googlemail.com> wrote:
>> As far as I can tell, z is glibc-proprietary, which would make it
>> inadequate.
> I don't think so, I was wondering from the print man page a few months
> ago, as it was vague on this, and I had a look, it does seem to be C99.

My fault. I was reading an antique version of POSIX. j (intmax_t), z
(ssize_t), t (ptrdiff_t) are both in C99 and POSIX, in addition to the
well-known hh (char), h (short), l (long) and ll (long long).

> As a general rule, is C99 supposed to be encouraged or discouraged in

VLC 0.9.0 pretty much depends on ISO C99 _internally_.
However the public header files must keep compatibility with C++.


More information about the vlc-devel mailing list