On Fri, 2013-12-13 at 13:13 -0500, Jasper St. Pierre wrote:
> So, I know this is existing practice, but it seems to me that building
> with different protocol headers than what the server supports would
> only lead to disaster.

If the structs or enums changed, sure, but if that ever happens we're
already in disaster territory.

> Do we do this anywhere already?

I pretty routinely update the protocol headers in older Fedoras so I can
build git xservers on released OSes.  And it's really nice for bisection
to not need to lockstep the protocol headers with the server, where by
really nice I mean the alternative would be infuriating.

We haven't always done the <protocol-versions.h> thing; that it's there
now is because it fixed a class of bugs we really did hit in the wild.

- ajax


_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to