Bug 98839
Summary: | Exceptions made from callbacks from Motif widgets not cought | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | David Juran <djuran> | ||||
Component: | openmotif | Assignee: | Thomas Woerner <twoerner> | ||||
Status: | CLOSED DUPLICATE | QA Contact: | Brian Brock <bbrock> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 8.0 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2006-02-21 18:56:59 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | 98988 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
David Juran
2003-07-09 14:14:25 UTC
Created attachment 92831 [details]
test case
No, this is actually a bug in openMotif or more specifically in the way openMotif is being built and not in the compiler. In order for exceptions to be able to propagate throgh functions registered as motif callbacks, the -fexceptions flag has to be used while building the motif library. Adding -fexceptions to the definition of CFLAGS on line 46 in the openmotif.spec remedies the problem. Then the same has to be done to libXt as well )-: *** This bug has been marked as a duplicate of 98988 *** For the record, I agree with Thomas, and with XFree86.org on this issue. Xlib et al were not designed to be built in this fashion, and were developed before C++ existed. Full details at: http://bugs.xfree86.org/show_bug.cgi?id=503 Changed to 'CLOSED' state since 'RESOLVED' has been deprecated. |