Re: [Ecls-list] ERROR caused by FPU control settings...

2013-04-21 Thread Dietrich Bollmann
Hi Juanjo, Thanks for your detailed answer! On Fri, Apr 19, 2013 at 11:47 PM, Juan Jose Garcia-Ripoll < juanjose.garciarip...@gmail.com> wrote: > > On Fri, Apr 19, 2013 at 5:07 AM, Dietrich Bollmann > wrote: > >> Yes, I am: ECL relies on the underlying operating system > The operating >> syste

Re: [Ecls-list] ERROR caused by FPU control settings...

2013-04-19 Thread Juan Jose Garcia-Ripoll
On Fri, Apr 19, 2013 at 5:07 AM, Dietrich Bollmann wrote: > Yes, I am: ECL relies on the underlying operating system > The operating > system is Windows > And here is the problem :) > ECL needs to touch the FPU because Common Lisp mandates that arithmetic errors give rise to exceptions (which ar

Re: [Ecls-list] ERROR caused by FPU control settings...

2013-04-18 Thread Dietrich Bollmann
[Answering to my own posting once again] > I started with the following minimal code executed from a Rhino plugin: > ... > cl_boot(argc, argv); > cl_shutdown(); > ... > But when loading the plugin I get the following error message: > ... > Something has changed the FPU control settings. > I

Re: [Ecls-list] ERROR caused by FPU control settings...

2013-04-18 Thread Dietrich Bollmann
Hi again, > I get the following error message: > ... > Something has changed the FPU control settings. > ... > Any idea how I can avoid this? 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 pr

[Ecls-list] ERROR caused by FPU control settings...

2013-04-18 Thread Dietrich Bollmann
Hi, I would like to integrate ECL into the 3D modelling software "Rhinoceros" (http://en.wikipedia.org/wiki/Rhino3D). I started with the following minimal code executed from a Rhino plugin: char *argv[] = {"Rhinoceros", NULL}; int argc = sizeof(argv) / sizeof(char*) - 1; cl_boot(argc, argv