[Issue 8370] invalid deprecation error with -release -inline -noboundscheck

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Apr 8 11:23:20 PDT 2014


https://d.puremagic.com/issues/show_bug.cgi?id=8370


Saurabh Das <saurabh.das at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |saurabh.das at gmail.com


--- Comment #2 from Saurabh Das <saurabh.das at gmail.com> 2014-04-08 11:23:17 PDT ---
Similar error:

echo '
import std.mmfile;
' > test.d

dmd -c -de -release -inline -noboundscheck test.d

/usr/include/dmd/phobos/std/mmfile.d(344): Deprecation: alias
core.sys.posix.sys.mman.MAP_ANON is deprecated - Please use
core.sys.linux.sys.mman for non-POSIX extensions

Removing any of '-release', '-inline' or '-noboundscheck' allows the code to
compile.

[Using DMD64 D Compiler v2.065 on Linux]

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list