[Mono-bugs] [Bug 49576][Min] New - Wrong handling of -define command line switch
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sun, 12 Oct 2003 13:44:59 -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 michaeld@3vium.com.
http://bugzilla.ximian.com/show_bug.cgi?id=49576
--- shadow/49576 2003-10-12 13:44:59.000000000 -0400
+++ shadow/49576.tmp.30205 2003-10-12 13:44:59.000000000 -0400
@@ -0,0 +1,39 @@
+Bug#: 49576
+Product: Mono/MCS
+Version: unspecified
+OS:
+OS Details: Redhat 9.0
+Status: NEW
+Resolution:
+Severity:
+Priority: Minor
+Component: Misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: michaeld@3vium.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Wrong handling of -define command line switch
+
+Description of Problem:
+When trying to build files with mcs at Linux with multiple conditional defines, compilation
+fails. This is because ";" is command separator at Unix shell. Probably, at Linux need to
+work with ":" separator instead of ";".
+
+Steps to reproduce the problem:
+run mcs -define:TRACE;DEBUG test.cs where test is any valid CSharp file
+
+Actual Results:
+The compilation fails with a message:
+error CS2008: No files to compile were specified
+Compilation failed: 1 error(s), 0 warnings
+
+Expected Results:
+The compilation completes normally
+
+How often does this happen?
+Always
+
+Additional Information:
+When specifying separate -define switch for each define, everything works