Bug 5098 – -unittest does not turn on asserts nor sets unittest version in D1

Status
RESOLVED
Resolution
WONTFIX
Severity
normal
Priority
P2
Component
dlang.org
Product
D
Version
D1 (retired)
Platform
Other
OS
All
Creation time
2010-10-21T19:04:00Z
Last change time
2015-12-16T02:08:04Z
Assigned to
nobody
Creator
strtr

Comments

Comment #0 by strtr — 2010-10-21T19:04:09Z
http://www.digitalmars.com/d/1.0/dmd-windows.html#switches -unittest compile in unittest code, turns on asserts, and sets the unittest version identifier http://www.digitalmars.com/d/1.0/unittest.html The version identifier unittest is predefined if the compilation is done with unit tests enabled.
Comment #1 by jack — 2015-12-16T02:08:04Z
D1 is no longer maintained, and this would be a DMD issue anyway.