Re: [PATCH 1/2 v2] version: Fix WESTON_VERSION_AT_LEAST macro

2014-01-27 Thread Kristian Høgsberg
...@lists.freedesktop.org] On Behalf Of Eoff, Ullysses A Sent: Friday, January 24, 2014 1:05 PM To: Daniel Stone Cc: wayland-devel@lists.freedesktop.org Subject: RE: [PATCH 1/2 v2] version: Fix WESTON_VERSION_AT_LEAST macro Even with just a rename, if the API/ABI doesn't change from 1.4.x to 1.5.x the macro

RE: [PATCH 1/2 v2] version: Fix WESTON_VERSION_AT_LEAST macro

2014-01-24 Thread Eoff, Ullysses A
24, 2014 1:05 PM To: Daniel Stone Cc: wayland-devel@lists.freedesktop.org Subject: RE: [PATCH 1/2 v2] version: Fix WESTON_VERSION_AT_LEAST macro Even with just a rename, if the API/ABI doesn't change from 1.4.x to 1.5.x the macro wouldn't work if you used WESTON_VERSION_COMPATIBLE_WITH(1,4,0

Re: [PATCH 1/2 v2] version: Fix WESTON_VERSION_AT_LEAST macro

2014-01-24 Thread Bill Spitzak
If a feature remains in N minor versions the programmer would have to put in N compatable-with macros to enable it. They would also have to update the code every time a new minor version comes out (or just predict a number of minor versions into the future and put in a bunch of calls to this).