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: nob...@puremagic.com ReportedBy: andrej.mitrov...@gmail.com --- Comment #0 from Andrej Mitrovic <andrej.mitrov...@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: -------