Boost logo

Boost :

Subject: Re: [boost] gil::io "non-review" (was: [gil] Can not open test.jpg)
From: Christian Henning (chhenning_at_[hidden])
Date: 2010-03-23 17:03:09

Hi there,

> I agree with Phil; that's undefined behaviour.  I can't access the
> official C standard here, but in the C99 draft N1256
> (, in
>, it says (of longjmp):
> ... if the function containing
> the invocation of the setjmp macro has terminated execution in the
> interim, ... the behavior is undefined.
> So, once try_something has returned, the effect of calls to longjmp is
> undefined.

Does that mean I have to call setjmp everytime before I call libjeg
function? This way the function that calls setjmp would not have been


Boost list run by bdawes at, gregod at, cpdaniel at, john at