how to deal with longjmp warnings
Jan-Henrik Haukeland
hauk at tildeslash.com
Wed Mar 12 16:03:36 CET 2008
On 12. mars. 2008, at 10.10, Paul J Stevens wrote:
>
> I'm busy adding try/catch macros around all my queries, but now my
> compiler starts to complain:
>
> warning: variable 'xyz' might be clobbered by 'longjmp' or 'vfork'
>
> Any suggestion on how best to deal with these?
No idea, never seen that one before. Quick googling suggest
deficiencies in the compiler. GCC 4.x which I use on Mac OS X and
Ubuntu have never shown this warning. It may help declaring the
variables you get a warning on as volatile, if possible.
More information about the libzdb-general
mailing list