Opened 12 years ago

Closed 7 years ago

#4222 closed Feature Requests (worksforme)

feenablexcept does not exist on mac

Reported by: Chris Jefferson Owned by: Raffi Enficiaud
Milestone: Boost 1.43.0 Component: test
Version: Boost Release Branch Severity: Problem
Keywords: Cc:

Description

A recent addition to boost/test tries to enable and disable exceptions. Unfortunatly, the methods used (fedisableexcept / feenableexcept) are GNU-specific and do not exist on Mac OS X.

The following patch disables the on Apple, similarly to Cygwin.

Attachments (1)

execution_monitor.ipp.patch (798 bytes ) - added by Chris Jefferson 12 years ago.
Small patch to execution_monitor to disable fp exception code on mac

Download all attachments as: .zip

Change History (7)

by Chris Jefferson, 12 years ago

Attachment: execution_monitor.ipp.patch added

Small patch to execution_monitor to disable fp exception code on mac

comment:1 by Douglas Gregor, 12 years ago

Resolution: fixed
Status: newclosed

(In [62068]) Darwin does not have feenablexcept. Fixes #4222.

comment:2 by anonymous, 12 years ago

Resolution: fixed
Status: closedreopened
Type: PatchesFeature Requests

according to: http://stackoverflow.com/questions/247053/enabling-floating-point-interrupts-on-mac-os-x-intel

There are different interfaces we use on Mac.

Can anyone who have access to this platform verify this?

comment:3 by rwebb <richard.webb@…>, 12 years ago

I'm seeing problems in this area on Mingw. e.g. http://tinyurl.com/3366wsq

Does Mingw need to be handled in the same way as Cygwin?

comment:4 by Raffi Enficiaud, 7 years ago

Owner: changed from Gennadiy Rozental to Raffi Enficiaud
Status: reopenednew

I believe this is now outdated. Can anyone confirm?

comment:5 by Raffi Enficiaud, 7 years ago

Status: newassigned

comment:6 by Raffi Enficiaud, 7 years ago

Resolution: worksforme
Status: assignedclosed

Putting this issue to the backlog as worksforme, as no one is able to reproduce the issue anymore. If someone hits again the bug, then feel free to reopen it.

Note: See TracTickets for help on using tickets.