RE: [gnet-dev] Build with Sun compiler



> Most changes are related to the fact that a (condition ? exp : exp)
> expression is not an lvalue in C and hence can not be used in the left
> hand side of an assignment. GCC seems to allow this but it is not
> standard C.

Actually it is Standard C, see Conditional Expressions (2.11) Ansi C,
Kernighan & Ritchie.

Regards,
Martyn



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