Movement against float.init being nan

Walter Bright newshound2 at digitalmars.com
Wed Aug 24 15:13:44 UTC 2022


On 8/24/2022 5:17 AM, Paul Backus wrote:
> On Wednesday, 24 August 2022 at 05:57:38 UTC, Walter Bright wrote:
>> On 8/23/2022 2:00 AM, claptrap wrote:
>>> Dont most C/C++ compilers have warnings for initialised variables? I'm sure 
>>> MSVC did when I was using it, but its 15 years ago now.
>>
>> I just tried it with gcc. No warning.
> 
> Most of gcc's warnings, including this one, are not enabled by default. If you 
> compile with -Wall, you will get a warning.

Fair enough, though that makes it clear that there are many languages called C, 
and Standard C does not complain about it.


More information about the Digitalmars-d mailing list