Opened 14 years ago

Last modified 13 years ago

#52 new defect

sigfpe

Reported by: abwillis Owned by: dmik
Priority: high Milestone:
Component: 3rdparty Version:
Severity: critical Keywords:
Cc:

Description

I have built Typefaster: http://sourceforge.net/projects/typefaster/ which uses QT3 and not QT4. I was getting SIGFPE errors until I recalled floating point issues such as was seen in Cairo. I then happened on the fix in QT4: http://svn.netlabs.org/qt4/changeset/430 I was able to take the API_FPU_CW_Wrappers.h and update qt_os2.h: Index: qt_os2.h =================================================================== --- qt_os2.h (revision 188) +++ qt_os2.h (working copy) @@ -44,6 +44,9 @@

#define INCL_PM #include <os2.h>

+ wrappers for each Win* and Gpi* call that restore the FPU Control Word +#include <API_FPU_CW_Wrappers.h> +

OS/2 system exception handler callback interface

#if !defined(QT_OS2_NO_SYSEXCEPTIONS)

Change History (3)

comment:1 by diver, 13 years ago

Andy, as we are not updating qt3 at all feel free to include your changes to this official tree. or just provide a custom qt3. if you need svn write access let me know.

comment:2 by abwillis, 13 years ago

Sending include/qt_os2.h Adding mkspecs/os2-g++/API_FPU_CW_Wrappers.h Sending src/qt.def.map.os2-g++ Transmitting file data ... Committed revision 189.

comment:3 by abwillis, 13 years ago

There is an update to QT4 that I am looking to bring over before closing this out.

Note: See TracTickets for help on using tickets.