[GRASS-dev] GRASS & QGIS: the future

Markus Neteler neteler at osgeo.org
Fri May 30 12:33:07 PDT 2014


On Fri, May 30, 2014 at 12:38 AM, Glynn Clements
<glynn at gclements.plus.com> 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


More information about the grass-dev mailing list