Hi,
In message "Re: RCR for child execution"
on 03/05/12, "Simon Strandgaard" <0bz63fz3m1qt3001 / sneakemail.com> writes:
|> main.cpp:40: non-lvalue in assignment
|> main.cpp:41: non-lvalue in assignment
|>
|> That's because stdout is not a variable: on my FreeBSD box it is defined as
|
|All my boxes run FreeBSD5.0 :-)
|I don't get any warnings/errors.
stdin, stdout, stderr might not be assignable. It's undefined
behavior. Although it seems to work on FreeBSD, not on other
platforms.
matz.