digitalmars.D.bugs - [Issue 4541] New: Intrinsic functions do not have pointers
- d-bugmail puremagic.com (34/34) Jul 31 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4541
- d-bugmail puremagic.com (10/10) Sep 20 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4541
- d-bugmail puremagic.com (10/10) Sep 19 2011 http://d.puremagic.com/issues/show_bug.cgi?id=4541
- d-bugmail puremagic.com (11/11) Feb 15 2013 http://d.puremagic.com/issues/show_bug.cgi?id=4541
http://d.puremagic.com/issues/show_bug.cgi?id=4541 Summary: Intrinsic functions do not have pointers Product: D Version: D1 Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nobody puremagic.com ReportedBy: burton-radons shaw.ca PDT --- This code fails to link: import std.math; void main() { real function(real) c = &sin; } With the error message: D:\Source>dmd-1 test.d test.exe OPTLINK (R) for Win32 Release 8.00.2 Copyright (C) Digital Mars 1989-2009 All rights reserved. http://www.digitalmars.com/ctg/optlink.html test.obj(test) Error 42: Symbol Undefined _D3std4math3sinFeZe --- errorlevel 1 Because std.math.sin is intrinsic. This should either be detected at compile time or (better yet) a function should be added to Phobos that gives this function a body. This affects treating large sets of functions homogenously, such as exporting to a scripting language. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 31 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4541 Don <clugdbug yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |necroment gmail.com *** Issue 4696 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 20 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4541 yebblies <yebblies gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bearophile_hugs eml.cc *** Issue 6692 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 19 2011
http://d.puremagic.com/issues/show_bug.cgi?id=4541 Andrej Mitrovic <andrej.mitrovich gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrej.mitrovich gmail.com Version|D1 |D1 & D2 14:49:10 PST --- Also a D2 bug. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 15 2013