----- Original Message ----- 
From: "Stefan Evert" <[email protected]>

> Just a wild guess, but I don't see the functions signature being
> define in any header files.  Possibly it's implicitly defined (and
> called) with an int argument rather than double?
>

Not a bad guess. (I saw the warning "'rint' undefined; assuming extern 
returning int" during the build ... but didn't properly understand its 
significance and simply ignored it.)

I've now modified Basic/Math/math.pd so that the prototype for rint is 
included in math.xs iff $^O =~ /MSWin32/ && a Microsoft compiler is used.
This works fine, and I'll upload the amended math.pd to the CVS repository, 
and then close the bug report that the op opened.

Thanks Stefan !

Cheers,
Rob 


_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to