RE: [gnet-dev] Build with Sun compiler
- From: David Helder <dhelder umich edu>
- To: martyn 2 russell bt com
- Cc: ives sonycom com, <gnet-dev gnetlibrary org>
- Subject: RE: [gnet-dev] Build with Sun compiler
- Date: Tue, 29 Apr 2003 12:17:13 -0400 (EDT)
On Tue, 29 Apr 2003 martyn 2 russell bt com wrote:
> > The conditional operator is ofcourse standard C. But it is not an
> > lvalue and can therefore not be used as the left hand part of an
> > assignment.
>
> True, d'oh :)
>
> But you say GCC allows it?
Yes, and Microsoft's compiler too evidently. It is allowed in C++ I
think.
David
--
David Helder - dhelder umich edu - <http://www.eecs.umich.edu/~dhelder>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]