> But when loading the plugin I get the following error message:
> Something has changed the FPU control settings.
> In file 'ecl/src/gc-unstable/mach_dep.c' the FPU control word is changed with 'fldcw'.
> But this seems to apply only in the case of Linux. I have the problem with Windows...
> I could not find any other place where the FPU control settings are changed.
> Am I missing something?
Yes, I am: ECL relies on the underlying operating system > The operating system is Windows > And here is the problem :)
The debugger indicates the dynamic load library mfc100ud.dll as the origin of the problem...
I also found a solution:
Rhino provides the macros ON_FPU_BeforeSloppyCall() and ON_FPU_AfterSloppyCall() for similar cases and wrapping the call to cl_boot(argc, argv) allows to get rid of the error message:
I only dislike to qualify cl_boot() as "sloppy" rather than the underlying operating system. But a comment will help :)
Here, for the case somebody else encounters a similar problem, the relevant page in the Rhino C++ SDK Knowledge Base:
- FPU Issues
By the way, is there some alternative to cl_boot(argc, argv) which allows to initialise ECL without providing argc and argv?
Sorry for the inconvenience,