[Issue 12789] Add -transition=nan to emit floating-point variables default-initialized to NaN

2014-05-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12789 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 12789] Add -transition=nan to emit floating-point variables default-initialized to NaN

2014-05-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12789 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Keywords||pull ---

[Issue 12789] Add -transition=nan to emit floating-point variables default-initialized to NaN

2014-05-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12789 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc --- Comment

[Issue 12789] Add -transition=nan to emit floating-point variables default-initialized to NaN

2014-05-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12789 --- Comment #3 from bearophile_h...@eml.cc --- about large fixed-size variables I meant fixed-size arrays. --

[Issue 12789] Add -transition=nan to emit floating-point variables default-initialized to NaN

2014-05-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12789 --- Comment #4 from Andrej Mitrovic andrej.mitrov...@gmail.com --- (In reply to bearophile_hugs from comment #2) I suggest something better: a compiler switch like -fromc that helps porting C/C++ code to D. Such flag warns against NaNs, about large

[Issue 12789] Add -transition=nan to emit floating-point variables default-initialized to NaN

2014-05-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12789 --- Comment #5 from bearophile_h...@eml.cc --- (In reply to Andrej Mitrovic from comment #4) I think we added `-transition` specifically to allow fine-grained control of these diagnostics. Right, sorry, I forgot. --