On Wed, May 28, 2014 at 1:49 AM, Glynn Clements
<[email protected]> wrote:

> But I still think that the global error handler is the wrong place for
> a longjmp(). Its original purpose was to allow the standard
> notification mechanism (stderr, log file, and/or email) to be replaced
> with a custom mechanism.
>
> Can you try the attached patch? The new function should be used like:
>
>         if (setjmp(*G_fatal_longjmp(1))) {
>             // this will be executed on fatal errors
>         }

Works. Can I hope the patch will find a way to 7.0.0?

Thanks
Radim
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to