[Mono-bugs] [Bug 38936][Nor] New - mcs.bat removes ; from arguments

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Sat, 1 Mar 2003 01:29:28 -0500 (EST)

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 gert.driesen@pandora.be.


--- shadow/38936	Sat Mar  1 01:29:28 2003
+++ shadow/38936.tmp.16124	Sat Mar  1 01:29:28 2003
@@ -0,0 +1,42 @@
+Bug#: 38936
+Product: Mono/MCS
+Version: unspecified
+OS Details: Windows 2000
+Status: NEW   
+Priority: Normal
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: gert.driesen@pandora.be               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: mcs.bat removes ; from arguments
+On Windows, the Windows setup package creates a mcs.bat in the windows 
+root directory.  This batch file makes sure that Mcs is using the Mono 
+runtime for linking assemblies.
+However, when you pass parameters to the mcs.bat file with ; in it, the ; 
+is removed from the arguments.
+which, for example, causes probems when you want to specify multiple 
+for example :
+mcs.bat -target:exe -out:test.exe -define:DEBUG;TRACE -recurse:*.cs
+causes the following error :
+error CS2001: Source file 'TRACE' could not be opened
+this is because the mcs.bat file removed the ; between DEBUG and TRACE, 
+and this causes the compiler to see TRACE as the name of a source file.
+I would expect the batch file to retain the ; characters in arguments.