https://bugzilla.novell.com/show_bug.cgi?id=347187


           Summary: xbuild issue with multiple /define symbols
           Product: Mono: Compilers
           Version: 1.2.6
          Platform: x86
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]
          Found By: ---


On Unbuntu 7.10, xbuild generates a commandline for gmcs like that:
  gmcs ... /define:OPTION1;OPTION2;OPTION3;...

This seems to confuse the shell, as gmcs only recognizes the first option,
and I get errors like this for the other options:

bash: OPTION2: command not found
bash: OPTION3: command not found

Workaround: enclose in quotes, like this, *omitting the last semi-colon*:

  gmcs ... /define:"OPTION1;OPTION2;OPTION3"...

If you don't leave out the last semi-colon, you get another error:

  warning CS2029: Invalid conditional define symbol `'


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to