version and debug statements
Derek Parnell
derek at psych.ward
Thu May 11 06:51:44 PDT 2006
On Thu, 11 May 2006 19:32:07 +1000, Don Clugston <dac at nospam.com.au> wrote:
> Since "static if" is now legal at module scope, it's now practically a
> superset of "version". So it shouldn't be very complicated to move some
> of the functionality across. (There's a problem with using 'static if'
> instead of 'version' : if there's an 'import' statement bracketed by a
> static if, potentially you have to compile the program to find out which
> files are included. Obviously 'build' can't cope with that).
And I don't want to make Build be a compiler too ;-) So I don't think it
will ever try to execute static if statements.
--
Derek Parnell
Melbourne, Australia
More information about the Digitalmars-d
mailing list