From dhinds at sonic.net  Mon Aug 29 20:16:26 2005
From: dhinds at sonic.net (dhinds@sonic.net)
Date: Mon, 29 Aug 2005 18:16:26 +0000 (UTC)
Subject: [Rd] floating point control on windows
References: <20050829145230.73A0E2FCB@post.aecom.yu.edu>
Message-ID: <devjdq$3f3$2@sea.gmane.org>

Chris Paulse <cpaulse at aecom.yu.edu> wrote:
> Hi,

> I'm sure that this question has come up many times before.  When I load an R
> extension dll I've built with the Microsoft compiler, I get the warning:

> Warning message:

> DLL attempted to change FPU control word from 8001f to 9001f

I think maybe most parsimonious/simple fix for this problem is to add
"fp10.obj" to the link line for your code.  This file is provided by
Microsoft to flip the precision of the run time library to 80 bits.
The linker should find it automatically.

http://msdn.microsoft.com/library/en-us/vclib/html/_crt_floating.2d.point_support.asp

-- David Hinds



[Rd] floating point control on windows
dhinds@sonic.net