Conditional Compilation Multiple Versions

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jun 13 05:21:50 PDT 2015


On Fri, 12 Jun 2015 20:41:59 -0400, bitwise wrote:

> Is there a way to compile for multiple conditions?
> 
> Tried all these:
> 
> version(One | Two){ }
> version(One || Two){ }
> version(One && Two){ }
> version(One) |  version(Two){ }
> version(One) || version(Two){ }
> version(One) && version(Two){ }
> 
>    Bit

nope. Walter is against that, so we'll not have it, despite the 
triviality of the patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20150613/cf488592/attachment.sig>


More information about the Digitalmars-d-learn mailing list