View source code
Display the source code in dmd/globals.d from which this page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone.

Module dmd.globals

Stores command line options and contains other miscellaneous declarations.




Global Collection of global compiler settings and global state used by the frontend
Help Command line state related to printing usage about other switches
Param Put command line switches in here


CHECKACTION What should happend when an assertion fails
CHECKENABLE In which context checks for assertions, contracts, bounds checks etc. are enabled
CppStdRevision Version of C++ standard to support
DiagnosticReporting Defines a setting for how compiler warnings and deprecations are handled
FeatureState Trivalent boolean to represent the state of a revertable change
JsonFieldFlags Each flag represents a field that can be included in the JSON output.

Global variables

global Global Collection of global state


Walter Bright


Boost License 1.0