[Mono-bugs] [Bug 42206][Cos] Changed - Should emit a warning on Main with wrong signature

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Thu, 1 May 2003 10:51:51 -0400 (EDT)


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 gonzalo@ximian.com.

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

--- shadow/42206	Thu May  1 10:41:27 2003
+++ shadow/42206.tmp.27034	Thu May  1 10:51:51 2003
@@ -2,13 +2,13 @@
 Product: Mono/MCS
 Version: unspecified
 OS: All
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Cosmetic
 Component: Misc
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: gonzalo@ximian.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -28,6 +28,10 @@
 CSC says:
 xxx.cs(4,21): warning CS0028: 'C.Main()' has the wrong signature to be an
 entry point
 error CS5001: Program 'xxx.exe' does not have an entry point defined
 
 and mcs only issues the error, but not the warning.
+
+------- Additional Comments From gonzalo@ximian.com  2003-05-01 10:51 -------
+I just noticed that the warning is displayed when /warn:4 is passed to
+mcs. Should we diaply it on /warn:0