On Fri, May 30, 2014 at 12:38 AM, Glynn Clements
<[email protected]> wrote:
>
> Radim Blazek wrote:
>
>> > 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?
>
> Committed in r60590.
>
> The only aspect which might be invasive is that defs/gis.h now
> includes <setjmp.h> for the jmp_buf declaration. Although this is a
> standard C header, it's not necessarily as straightforward as other
> headers, being tied to the compiler's internals. I would advise
> checking whether there are any build issues on less-common platforms
> (e.g. AIX) before promoting the change to release.

I have patched my relbr7 locally on the AIX supercomputer and it compiles.

Markus
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to