[Issue 5305] New: intrinsic functions have @safe stripped of them in release mode.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Dec 1 16:52:00 PST 2010


http://d.puremagic.com/issues/show_bug.cgi?id=5305

           Summary: intrinsic functions have @safe stripped of them in
                    release mode.
           Product: D
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: blood.of.life at gmail.com


--- Comment #0 from Bernard Helyer <blood.of.life at gmail.com> 2010-12-01 16:50:30 PST ---
https://gist.github.com/724508

The code snippet compiles with -release, but not without. In -release mode, the
maths intrinsics have the mangling for @safe removed ('Nf'), and so the linker
chokes on the mangled signature (because libphobos2.a was compiled with
-release.)

-- 
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