[Mono-bugs] [Bug 81536][Nor] New - CS1002 compile error even if code is correct

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun May 6 13:01:33 EDT 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by olaf.krause at ok-edv.de.

http://bugzilla.ximian.com/show_bug.cgi?id=81536

--- shadow/81536	2007-05-06 13:01:33.000000000 -0400
+++ shadow/81536.tmp.5041	2007-05-06 13:01:33.000000000 -0400
@@ -0,0 +1,41 @@
+Bug#: 81536
+Product: Mono: Compilers
+Version: 1.2
+OS: 
+OS Details: CentOs 5
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: rharinath at novell.com                            
+ReportedBy: olaf.krause at ok-edv.de               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: CS1002 compile error even if code is correct
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+
+Steps to reproduce the problem:
+1. Download source of SharpZLib www.icsharpcode.net Vesion 0.85.1 
+2. Load Project into monodevelop
+3. Start compilation
+
+Actual Results:
+You will get a compile error CS1002 in DeflaterHuffman.cs line 787
+if (storedOffset >= 0 && storedLength + 4 < opt_len >> 3) {
+
+Expected Results:
+No compile error as in VS2005 under windows.
+
+How often does this happen? 
+everytime 
+
+Additional Information:
+The following line would work:
+if (storedOffset >= 0 && (storedLength + 4) < (opt_len >> 3)) {


More information about the mono-bugs mailing list