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: nob...@puremagic.com ReportedBy: necrom...@gmail.com --- Comment #0 from Max Klyga <necrom...@gmail.com> 2010-08-20 15:50:19 PDT --- 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: -------