[Issue 4696] New: function pointers to std.math functions cause linking errors
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Aug 20 15:50:21 PDT 2010
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 at puremagic.com
ReportedBy: necroment at gmail.com
--- Comment #0 from Max Klyga <necroment at 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: -------
More information about the Digitalmars-d-bugs
mailing list