no release-only version?

Bill Baxter dnewsgroup at billbaxter.com
Thu Mar 6 19:03:51 PST 2008


Am I right in thinking there's no built-in way to specify a block of 
code that gets disabled only in -release builds?

This is how array bounds checking behaves, right?  Always performed 
unless -release specified.

But it seems there's no built-in version/debug statement that lets 
library code have the same behavior.  The 'debug' condition is similar 
but it's only on in -debug builds, not in builds with specify neither 
-debug nor -release.

--bb


More information about the Digitalmars-d-learn mailing list