Named initialisers and other hilarity

Daniel Stone daniel at fooishbar.org
Thu Sep 21 05:04:55 PDT 2006


On Wed, Sep 20, 2006 at 02:33:50AM +0300, Daniel Stone wrote:
> I was diving through some KDrive code today and it annoyed me enough to
> wonder seriously about named initialisers.  A quick straw poll on IRC
> suggests that we really want named initialisers, inlines (goodbye
> hundred-line macros of despair), mixed code and declarations[0], and
> variadic macros (goodbye DPRINTF((x))).
> 
> Are there any platforms that either support 7.x, or will realistically
> support 7.x quite soon, that don't support these features?  Full C99
> compliance is uninteresting since a) the features aren't that
> interesting, and b) gcc doesn't even do it; but mandating those four
> specific features would be magic.

Hi,
x11proto 7.0.8 brings _X_INLINE.  Have at it.

Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20060921/481c7e78/attachment.pgp>


More information about the xorg mailing list