rndtonl

Laeeth Isharc via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Nov 4 10:33:48 PST 2014


what am I doing wrong here?

import std.math;
import std.stdio;


void main()
{
	real fac;
	fac=1.2;
	fac=rndtonl(fac);
}

[root at fedorabox util]# dmd bug.d
bug.o: In function `_Dmain':
bug.d:(.text._Dmain+0x3b): undefined reference to `rndtonl'
collect2: error: ld returned 1 exit status
--- errorlevel 1


More information about the Digitalmars-d-learn mailing list