Is there a pragma or command line option to ask DMD to show a warning when it implicitly casts from long to ulong ?
Ecstatic Coder via Digitalmars-d-learn Fri, 15 Dec 2017 12:45:45 -0800
It's taken me some time to find an implicit cast bug ("if
(my_sometimes_negative_index >= this_array.length)"), while a
simple C++-like implicit-cast warning would have allowed me to
find this nasty bug WAY sooner...
- Is there a pragma or command line... Ecstatic Coder via Digitalmars-d-learn
- Re: Is there a pragma or com... Jonathan M Davis via Digitalmars-d-learn
- Re: Is there a pragma or com... Michael via Digitalmars-d-learn
- Re: Is there a pragma or... Ecstatic Coder via Digitalmars-d-learn