[Mono-bugs] [Bug 78795][Wis] Changed - [GMCS] mono-svn-62359 don't compile ikvm-runtime-cvs-2006-7-8
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sun Jul 9 06:06:34 EDT 2006
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 vargaz at gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=78795
--- shadow/78795 2006-07-08 03:58:40.000000000 -0400
+++ shadow/78795.tmp.23724 2006-07-09 06:06:34.000000000 -0400
@@ -1,23 +1,23 @@
Bug#: 78795
Product: Mono: Compilers
Version: unspecified
-OS:
+OS: unknown
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Wishlist
Component: C#
AssignedTo: rharinath at novell.com
ReportedBy: hys545 at dreamwiz.com
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
URL:
Cc:
-Summary: mono-svn-62359 don't compile ikvm-runtime-cvs-2006-7-8
+Summary: [GMCS] mono-svn-62359 don't compile ikvm-runtime-cvs-2006-7-8
Please fill in this template when reporting a bug, unless you know what you
are doing.
Description of Problem:
Buildfile: file:///home/hys545/ikvm/runtime.org/runtime.build
Target framework: Mono 2.0 Profile
@@ -48,6 +48,33 @@
How often does this happen?
Additional Information:
+
+------- Additional Comments From vargaz at gmail.com 2006-07-09 06:06 -------
+A testcase:
+<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+
+using System;
+
+class Foo {
+
+ public static void Main () {
+ object method = null;
+
+ if(method != null
+#if !COMPACT_FRAMEWORK
+ && !(method is String)
+#endif
+ ) {
+ }
+ }
+}
+>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
+
+mcs compiles this fine, while gmcs reports:
+
+bug.cs(12,1): error CS1028: Unexpected processor directive (no #if for
+this #endif)
+Compilation failed: 1 error(s), 0 warnings
More information about the mono-bugs
mailing list