From: <no...@so...> - 2001-06-21 09:34:42
|
Bugs item #435068, was updated on 2001-06-21 02:34 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=100599&aid=435068&group_id=599 Category: C-Front End Group: None Status: Open Resolution: None Priority: 5 Submitted By: Bernhard Held (bernhardheld) Assigned to: Nobody/Anonymous (nobody) Summary: Problems with ? operator Initial Comment: char c, d; f() { c = (0x100 & 0x100) ? 4 : 8; // ok d = ((0x100 & 0x100) ? 4 : 8) + 1; // bug: d is assigned 1 instead of 5 } >warning *** constant is out of range = operation ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=100599&aid=435068&group_id=599 |