RE: [gnet-dev] Build with Sun compiler



> > Actually it is Standard C, see Conditional Expressions 
> (2.11) Ansi C,
> > Kernighan & Ritchie.
> 
> 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?

Regards,
Martyn



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]