[Issue 12415] New: lrintf doesn't seem to exist on Windows
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Mar 19 14:02:38 PDT 2014
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 at puremagic.com
ReportedBy: andrej.mitrovich at gmail.com
--- Comment #0 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2014-03-19 14:02:33 PDT ---
-----
import core.stdc.math;
void main()
{
lrintf(0.5);
}
-----
> Error 42: Symbol Undefined _lrintf
Same 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: -------
More information about the Digitalmars-d-bugs
mailing list