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

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri May 23 07:21:45 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=12789

bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs at eml.cc

--- Comment #2 from bearophile_hugs at eml.cc ---
I suggest something better: a compiler switch like "-fromc" that helps porting
C/C++ code to D. Such flag warns against NaNs, about large fixed-size variables
passed by value, and cases like this that have a different meaning in C and D:

int *x, y;

And related matters.

--


More information about the Digitalmars-d-bugs mailing list