> DJ.. any insight on how to debug this further, or if it is a known
> issue?

Known pebkac.  If "first" happens to be optimized into a register,
longjmp will keep resetting it.  "volatile" is the way to go, or use a
goto if the label is in scope.

There's a gcc warning about that, too, I think, if you know what
option to enable.

What you should be using is the return value of setjmp() itself as
your "first time through" flag.


_______________________________________________
geda-user mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user

Reply via email to