[jhc] darcs patch: add System.IO.Pipe.
John Meacham
john at repetae.net
Wed Sep 23 17:02:10 EDT 2009
On Wed, Sep 23, 2009 at 09:23:19AM -0700, Taral wrote:
> On Tue, Sep 22, 2009 at 9:19 PM, John Meacham <john at repetae.net> wrote:
> > Actually, I believe 'errno' might require some special support, I seem
> > to recall that taking the address of it was invalid, as it may be some
> > sort of special #define for multi-threaded support to work properly. The
> > only requirement is that it is an lvalue, not that it have an address.
>
> C requires that all lvalues have an address. The standard merely
> states that the address is volatile (i.e. don't use it).
Not all lvalues have addresses.
> register int x;
> &x;
is an error for instance.
John
--
John Meacham - ⑆repetae.net⑆john⑈ - http://notanumber.net/
More information about the jhc
mailing list