On Monday, 28 November 2016 at 14:03:31 UTC, rikki cattermole
wrote:
On 29/11/2016 3:01 AM, Andrea Fontana wrote:
On Monday, 28 November 2016 at 13:51:13 UTC, Andrei
Alexandrescu wrote:
[...]
It's just a simple tag. And I hope that breaking changes are
not that
frequent!
I think that on worst case there will be a new api level every
dmd
release. It just happens, but in this way it is managed in a
better way.
If needed we can use API_LEVEL_DMD_2071_3 as identifier. But
IMO
PHOBOS_API_LEVEL_2 makes more sense.
It would be really easy to mantain a back-compatibility. Just
select the
right api level, and you can still use new dmd version!
Something
similar really works fine with android api_level.
Instead of "API_LEVEL_DMD_*" this already works:
static if (__VERSION__ >= 2072)
Compiler version should be split from a library versions. --Ilya