On Tuesday 07 March 2006 02:45 am, Peter Vreman wrote: > > Anyone any idea? > > In 2.0.0 the fpu exceptions are disabled if linking to C. In 2.0.2 this is > fixed.
for "man G++ " it is not the default, I could not find Qt makefile to disable them, so I was a bit perplex. (also had integer divisions in mind, quite a difference) I notice now that even the smallest C++ program has FPE disabled $ cat test.cpp #include <stdio.h> int main() { printf("FPE test:%f\n",142.0/0.0); } $ ./a.out FPE test:inf So I now use fedisableexcept(FE_ALL_EXCEPT); in the initialization section of qt4.pas thx Den Jean _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel