What compiler flags can be passed to a Dlang compiler

rempas rempas at tutanota.com
Fri Jul 9 21:15:50 UTC 2021


https://forum.dlang.org/post/becuqcxhutnwcwmeezwh@forum.dlang.org

On Sunday, 6 December 2020 at 11:48:34 UTC, tejas89 wrote:
> What compiler flags can be passed to a Dlang compiler? 
> Definition of compiler flag being something like say “—wall” or 
> “—werror” for example. I’m not sure what is available for the 
> language since I’m new to it and hope to learn D as one of 
> languages alongside C, C++, Python, Kotlin.

There are tons of them. Use the "--help" or "-h" flags for the 
compiler you are using. If you are new to D you can also check 
the [getting started](https://dub.pm/getting_started.html#) 
section of DUB which is the project/package manager of D.


More information about the Digitalmars-d-debugger mailing list