digitalmars.D.bugs - [Issue 12415] New: lrintf doesn't seem to exist on Windows
- d-bugmail puremagic.com (27/28) Mar 19 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12415
https://d.puremagic.com/issues/show_bug.cgi?id=12415 Summary: lrintf doesn't seem to exist on Windows Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: druntime AssignedTo: nobody puremagic.com ReportedBy: andrej.mitrovich gmail.com 14:02:33 PDT --- ----- import core.stdc.math; void main() { lrintf(0.5); } -----Error 42: Symbol Undefined _lrintfSame also with -m64 and using the VC linker. I know std.math has an lrint function which we can use, but it's strange the above would fail to link. If 'lrintf' is a Posix-only function then its prototypes should not be visible on Windows. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 19 2014