[Mono-bugs] [Bug 75984][Nor] Changed - [PATCH] Several preprocessor handling bugfixes

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Sep 5 04:49:39 EDT 2005


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 atsushi at ximian.com.

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

--- shadow/75984	2005-09-05 04:36:36.000000000 -0400
+++ shadow/75984.tmp.5116	2005-09-05 04:49:39.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 75984
 Product: Mono: Compilers
 Version: 1.1
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: C#
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: atsushi at ximian.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -77,6 +77,19 @@
 incorrectly allowed to have such code).
 
 ------- Additional Comments From atsushi at ximian.com  2005-09-05 04:36 -------
 Created an attachment (id=15692)
 proposed fix
 
+
+------- Additional Comments From atsushi at ximian.com  2005-09-05 04:49 -------
+Well, precisely to say, .NET 1.x csc reports:
+
+pragma-warning.cs(5,8): error CS1001: Identifier expected
+pragma-warning.cs(7,2): error CS1024: Preprocessor directive expected
+pragma-warning.cs(11,2): error CS1024: Preprocessor directive expected
+pragma-warning.cs(16,2): error CS1024: Preprocessor directive expected
+pragma-warning.cs(18,2): error CS1038: #endregion directive expected
+pragma-warning.cs(20,1): error CS1027: #endif directive expected
+
+while 2.0 csc with -langversion:ISO-1 tells above (btw I believe it is
+a bug in 2.0 csc that it does not reject #pragma directive).


More information about the mono-bugs mailing list