June 21, 2013 [Issue 10439] New: Deprecate float.min, double.min, real.min, and later remove them | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=10439 Summary: Deprecate float.min, double.min, real.min, and later remove them Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: bearophile_hugs@eml.cc --- Comment #0 from bearophile_hugs@eml.cc 2013-06-21 12:31:43 PDT --- void main() { auto x = double.min; } Compiling it normally or compiling it with -dw it prints nothing. Compiling it with -wi gives (dmd 2.064alpha): temp.d(2): Warning: min property is deprecated, use min_normal instead I suggest to make them really deprecated (so that code compiles only with -d or -dw), and later to turn them into an error. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation