version(assert) and Phobos release unittest build

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Thu Nov 28 11:25:15 PST 2013


On 28/11/13 20:08, Dicebot wrote:
> Which does not work if you also have "-unittest" ;)

Plus, assert statements in the main body of code (not just the unittests) are 
enabled with -release if -unittest is turned on, but in- and out-contracts are 
still stripped.  An oversight, perhaps?

I don't know how I came up with the idea that version(release) was one of the 
predefined version conditions.  I do think it has some use, though.  Feature 
request? :-)


More information about the Digitalmars-d-learn mailing list