Newsgroups: comp.lang.c Path: utzoo!henry From: henry@utzoo.uucp (Henry Spencer) Subject: Re: Portable uses of jmpbuf's Message-ID: <1988Oct12.163350.17495@utzoo.uucp> Organization: U of Toronto Zoology References: <4700022@m.cs.uiuc.edu> Date: Wed, 12 Oct 88 16:33:50 GMT In article <4700022@m.cs.uiuc.edu> wsmith@m.cs.uiuc.edu writes: >Some machines define a jmpbuf to be struct { stuff } , while >others define a jmpbuf to be an array. In one case, an & is required, >while in the other case it is not. People who define it to be a struct have goofed. There has been enough trouble with this that X3J11 specifically defines it to be an array (of some unspecified type). Of course, this isn't a lot of comfort if your compiler isn't X3J11-conforming yet... -- The meek can have the Earth; | Henry Spencer at U of Toronto Zoology the rest of us have other plans.|uunet!attcan!utzoo!henry henry@zoo.toronto.edu