Subject: Re: standards/7112: setjmp is a function
To: None <cato@ulysses.df.lth.se>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-userlevel
Date: 03/08/1999 15:25:49
On Mon, 8 Mar 1999 22:59:20 +0100 (CET) 
 Krister Walfridsson <cato@ulysses.df.lth.se> wrote:

 > >Description:
 > There was a discussion on the egcs mailinglist some time ago, where one of
 > the language lawyers whined about that many OS don't follow the ANSI C
 > standard wrt setjmp.
 > 
 > If you look at 7.6.1.1, you'll find
 > 
 >    7.6.1.1 The setjmp macro
 > 
 > but our setjmp is a function, so we are not really following the standard...

I don't really see how this can be an issue.  What if the macro itself
calls functions?!  I.e. you might just have to do that on some systems
(e.g. SVR4 which uses getcontext(2) to do setjmp(3)).

        -- Jason R. Thorpe <thorpej@nas.nasa.gov>