Bugzilla – Bug 324310
syntax error, order of operations, shifting
Last modified: 2007-11-05 13:14:55 UTC
---- Reported by wasabi@larvalstage.net 2007-05-15 15:51:18 MST ---- if (storedOffset >= 0 && storedLength + 4 < opt_len >> 3) { This produces a number of syntax errors. If you force the order of operations, such as: if (storedOffset >= 0 && (storedLength + 4) < (opt_len >> 3)) { Then it compiles fine. The first form compiles in the MS compiler. I am using gmcs 1.2.3.1. ---- Additional Comments From marek.safar@seznam.cz 2007-05-15 18:53:15 MST ---- *** https://bugzilla.novell.com/show_bug.cgi?id=MONO81536 has been marked as a duplicate of this bug. *** Unknown operating system unknown. Setting to default OS "Other".
*** This bug has been marked as a duplicate of bug 314903 ***