RE: [gnet-dev] Build with Sun compiler
- From: martyn 2 russell bt com
- To: ives sonycom com, gnet-dev gnetlibrary org
- Subject: RE: [gnet-dev] Build with Sun compiler
- Date: Mon, 28 Apr 2003 17:34:41 +0100
> 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]