[MPlayer-dev-eng] Re: [PATCH] Development (Was: Clean up demuxers)

David Holm david at realityrift.com
Wed Feb 27 23:52:47 CET 2002


On Wed, 2002-02-27 at 20:39, D Richard Felker III wrote:
> On Wed, Feb 27, 2002 at 05:17:17PM +0100, Arpi wrote:
> > hmm. i've worked with watcom c compiler under dos/win some time ago, and it
> > has an option to set char to 16bit, to handle wide/unicode stuff
> > automagically. it sets the size of char type to 2 bytes.
> 
> This is outright wrong and should not be supported. C explicitly
> defines sizeof(char) = 1, since sizeof(type) = (# of bytes in type) /
> (# of bytes in char) and x/x = 1 for sufficiently nonzero values of
> x. :) Read the comp.lang.c FAQ for a discussion of this issue.
> 

Who ever said all compilers follow the standard?

//David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20020227/6cb1da7c/attachment.pgp>


More information about the MPlayer-dev-eng mailing list