lists.zerezo.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

***BOGO*** Re: [MPlayer-dev-eng] [PATCH] Change lots of defines to one big enum.



On Thu, 2008-06-19 at 08:58 -0700, Bryan Henderson wrote:
> On 6/18/08, Michael Niedermayer <michaelni@xxxxxx> wrote:
> > Tell that to the people who designed posix ...
> > btw:
> > http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_02.html
> > contains the list of what posix claims for itself ...
> 
> The list of what POSIX reserves for itself, in that reference, does
> not include _t.

It does. Or more precisely, reserved for the standard OR implementations
of the standard. See the last line of the first table.

>   All it says about _t is that any type declared in a
> system header file (of a POSIX-compliant system) must end in _t.

Where do you see such a claim? I see no prohibition against declaring a
type with a different name on that page (and such a rule without
exceptions would conflict with the C standard type "FILE").

>   That
> doesn't imply an Mplayer header file can't also have a type that ends
> in _t.

Those identifiers are reserved for the POSIX standard and operating
systems implementing it.


_______________________________________________
MPlayer-dev-eng mailing list
MPlayer-dev-eng@xxxxxxxxxxxx
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng