[Mono-bugs] [Bug 480856] New: xbuild don't recognize Multiple DEFINE
    bugzilla_noreply at novell.com 
    bugzilla_noreply at novell.com
       
    Mon Mar  2 03:02:09 EST 2009
    
    
  
https://bugzilla.novell.com/show_bug.cgi?id=480856
           Summary: xbuild don't recognize Multiple DEFINE
    Classification: Mono
           Product: Mono: Tools
           Version: SVN
          Platform: i686
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: tools
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: hys545 at dreamwiz.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Development
I use mono-svn-128321
I compiled IronPython-svn use xbuild
(http://www.codeplex.com/IronPython)
Microsoft.Scripting.ExtensionAttribute.csproj include Multiple DEFINE
 <DefineConstants>DEBUG;TRACE;$(SignedSym)</DefineConstants>
Error Message":
Target CoreCompile:
                Tool /usr/bin/gmcs execution started with arguments: /noconfig
/debug:full /delaysign+ /debug+ /optimize-
/out:obj//Debug/Microsoft.Scripting.ExtensionAttribute.dll
Properties/ExtensionAssemblyInfo.cs Utils/Extension.cs /target:library
/warnaserror+ /unsafe- /define:DEBUG;TRACE;
/reference:/usr/lib/mono/2.0/System.dll /warn:4
:  error CS2029:  Invalid conditional define symbol `'
Build succeeded.
         0 Warning(s)
         2 Error(s)
/////////////////////////////////
https://bugzilla.novell.com/show_bug.cgi?id=479402
gmcs /define:DEBUG;TRACE
[hys545 at localhost cctools]$ gmcs /define:DEBUG;TRACE
error CS2008: No files to compile were specified
bash: TRACE: command not found
I fixed Microsoft.Scripting.ExtensionAttribute.csproj 
First:
 <DefineConstants>DEBUG;TRACE;$(SignedSym)</DefineConstants>
-->
 <DefineConstants>DEBUG\;TRACE\;$(SignedSym)</DefineConstants>
Target CoreCompile:
                Tool /usr/bin/gmcs execution started with arguments: /noconfig
/debug:full /delaysign+ /debug+ /optimize-
/out:obj//Debug/Microsoft.Scripting.ExtensionAttribute.dll
Properties/ExtensionAssemblyInfo.cs Utils/Extension.cs /target:library
/warnaserror+ /unsafe- /define:DEBUG/;TRACE/;
/reference:/usr/lib/mono/2.0/System.dll /warn:4
:  error CS2029:  Invalid conditional define symbol `DEBUG/'
:  error CS2029:  Invalid conditional define symbol `TRACE/'
:  error CS2029:  Invalid conditional define symbol `'
\  is     modified /.
Second:
 <DefineConstants>DEBUG;TRACE;$(SignedSym)</DefineConstants>
-->
 <DefineConstants>DEBUG</DefineConstants>
 <DefineConstants>TRACE</DefineConstants>
 <DefineConstants>$(SignedSym)</DefineConstants>
Target CoreCompile:
                Tool /usr/bin/gmcs execution started with arguments: /noconfig
/debug:full /delaysign+ /debug+ /optimize-
/out:obj//Debug/Microsoft.Scripting.ExtensionAttribute.dll
Properties/ExtensionAssemblyInfo.cs Utils/Extension.cs /target:library
/warnaserror+ /unsafe- /reference:/usr/lib/mono/2.0/System.dll /warn:4
Only last DEFINE remain
-- 
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.
    
    
More information about the mono-bugs
mailing list