Add -wnan switch to flag default NaN initializations

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Fri Aug 21 08:03:46 UTC 2026


On 21/08/2026 7:22 PM, Walter Bright wrote:
> On 8/21/2026 12:02 AM, ABrightLight wrote:
>> I really like this solution. Thank you Walter
> 
> You're welcome. I had the idea when I was out for a jog this morning, 
> and wondered why I hadn't thought of it before.

I suspect it may be for a similar reason as to why I had not mentioned it.

-vtls for instance, is for something quite intractable, it is from 
symbol resolution.

Default initialization, is generally a syntax level feature and is 
easily seen.

They don't serve the same purpose, although they may appear the same on 
the surface.

Also nobody has asked for the ability to audit the locations where this 
exists, like they did for TLS.



More information about the Digitalmars-d mailing list