[Issue 8370] New: invalid deprecation error with -release -inline -noboundscheck
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jul 10 11:59:39 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8370
Summary: invalid deprecation error with -release -inline
-noboundscheck
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: rejects-valid
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: timon.gehr at gmx.ch
--- Comment #0 from timon.gehr at gmx.ch 2012-07-10 11:59:34 PDT ---
DMD 2.059:
$ echo '
import std.mmfile; // no symbol from there is used
import std.range, std.algorithm, std.conv;
void main(){[1,2,3].map!(n=>n.to!string());}
' > source.d
$ dmd source.d
$ dmd -release -inline -noboundscheck source.d
/usr/include/x86_64-linux-gnu/dmd/phobos/std/datetime.d(29600): Error: variable
std.path.sep is deprecated
/usr/include/x86_64-linux-gnu/dmd/phobos/std/datetime.d(29601): Error: variable
std.path.sep is deprecated
/usr/include/x86_64-linux-gnu/dmd/phobos/std/path.d(2715): Error: alias
std.path.onOutOfMemoryError is deprecated
Removing any of the flags makes the code compile.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list