What is the point of D_Version2

Bill Baxter dnewsgroup at billbaxter.com
Sun Sep 2 06:39:21 PDT 2007


Derek Parnell wrote:
> On Sun, 2 Sep 2007 22:50:32 +1000, Derek Parnell wrote:
> 
> P.S. I finally got Bud to compile using V2 after about a thousand tiny
> changes and now I want to tweak so I can also compile the same source in
> V1. 
> 
> Needless to say, but there will be a slight delay in the next Bud release
> until I sort out this next bloody irritation.
> 

Can you work around it by separating the aliases out into separate v1 
and v2 d-files?  Like

version(D_Version2)
{
    import v2types;
}
else
{
    import v1types;
}

--bb


More information about the Digitalmars-d-learn mailing list