digitalmars.D.bugs - [Issue 4696] New: function pointers to std.math functions cause linking errors
- d-bugmail puremagic.com (26/26) Aug 20 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4696
- d-bugmail puremagic.com (12/12) Sep 20 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4696
http://d.puremagic.com/issues/show_bug.cgi?id=4696 Summary: function pointers to std.math functions cause linking errors Product: D Version: D2 Platform: Other OS/Version: Mac OS X Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: necroment gmail.com import std.math; void main() { auto x = [ &sin, &cos ]; } output: prog.o: In function `_Dmain': prog.d:(.text._Dmain+0x4): undefined reference to `_D3std4math3cosFNaNbeZe' prog.d:(.text._Dmain+0xa): undefined reference to `_D3std4math3sinFNaNbeZe' collect2: ld returned 1 exit status -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 20 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4696 Don <clugdbug yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |clugdbug yahoo.com.au Resolution| |DUPLICATE *** This issue has been marked as a duplicate of issue 4541 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 20 2010