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: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Bernard Helyer <[email protected]> 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: -------