[Issue 5305] intrinsic functions have @safe stripped of them in	release mode.
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Sat Jan 21 18:50:11 PST 2012
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=5305
bearophile_hugs at eml.cc changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs at eml.cc
--- Comment #3 from bearophile_hugs at eml.cc 2012-01-21 18:50:09 PST ---
(In reply to comment #2)
> The solution is one of:
> 
> 1. have the compiler complain about attempts to take the address of an
> intrinsic
> 
> 2. add a library version of the intrinsic
Is it possible for the D compiler to use the intrinsic in most cases when sqrt
is used directly, and give the pointer to a library sqrt when the programmer
uses a &sqrt?
-- 
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