#1423 closed defect (fixed)

wxHandleFatalExceptions is not always available

Reported by: liori Owned by: nielsm
Priority: normal Milestone: 3.0.0
Component: General Version: 2.1.9
Severity: minor Keywords:
Cc: Platform: Unix
Sub Component:

Description

wxHandleFatalExceptions is available only if WX was compiled with wxUSE_ON_FATAL_EXCEPTION flag set. It is on Windows/MSVC and Debian, but for example not on Windows/mingw or Fedora. Any call to this method should be wrapped in an #ifdef construct. See http://trac.wxwidgets.org/ticket/4491

Attachments (1)

wxHandleFatalExceptions.patch (451 bytes) - added by liori 17 months ago.
Patch.

Download all attachments as: .zip

Change History (4)

Changed 17 months ago by liori

Patch.

comment:1 Changed 17 months ago by nielsm

  • Milestone set to 2.1.10
  • Owner set to nielsm
  • Platform changed from All to Unix
  • Status changed from new to accepted

We don't support mingw compilation and probably never will so that isn't an issue. I can understand missing wxHandleFatalExceptions support if the toolchain for some reason can't support it, but it missing in Fedora's packages I see as a poor choice by the package maintainer.

On the other hand there isn't much reason to not patch it on our end.

comment:2 Changed 17 months ago by plorkyeran

(In [e9dcbf6]) Fix compilation errors when wxUSE_ON_FATAL_EXCEPTION is not enabled. Updates #1423.

comment:3 Changed 10 months ago by Plorkyeran

  • Milestone changed from 2.1.10 to 3.0.0
  • Resolution set to fixed
  • Status changed from accepted to closed

Was fixed for 3.0.0 and 2.1.10 isn't happening.

Note: See TracTickets for help on using tickets.