[Mono-devel-list] CSharpCodeCompiler.cs Bug

José Alexandre Antunes Faria jose.faria at vianw.pt
Thu Aug 19 17:08:01 EDT 2004


Then I guess there is something wrong with mcs because when I use the two of them it doesn't work...

Even in the comand prompt...

Lets wait and see...
  ----- Original Message ----- 
  From: Rafael Teixeira 
  To: José Alexandre Antunes Faria 
  Cc: mono-devel-list at lists.ximian.com 
  Sent: Thursday, August 19, 2004 2:49 PM
  Subject: Re: [Mono-devel-list] CSharpCodeCompiler.cs Bug


  I'm not the one who will commit your patch, but just to help clarify
  things: "--" is the "stop-processing-options" command, anything after
  it is considered to be source filenames, that is so that the compiler
  is able to compile sources with valid Linux paths/filenames like
  "/debug" or "-r".

  ----- Original Message -----
  From: José Alexandre Antunes Faria <jose.faria at vianw.pt>
  Date: Wed, 18 Aug 2004 23:46:22 +0100
  Subject: [Mono-devel-list] CSharpCodeCompiler.cs Bug
  To: mono-devel-list at lists.ximian.com

   
  Hi Guys... 
    
  I was trying to use the CSharpCodeCompiler to compile an app that used
  gtk-sharp, so I had to use the -pkg: option in CompilerOptions, so far
  so good, but the thing is BuildArgs doesn't use it, so, I made this
  fix:
    
   

  // Added these two lines 

  if(options.CompilerOptions!=null) 

  args.AppendFormat("{0} ", options.CompilerOptions); 

   

  // commented this one... 

  //args.Append (" -- "); 

  I don't know why, but I had to comment this last line, because with
  it, every time I used the option it simply didn't compile, like this
  it compiled quite well...

  Could some one check this out and commit it to the cvs if its the case? 

  Thanks guys.... 

  José Faria 

    

    



  -- 
  Rafael "Monoman" Teixeira
  ---------------------------------------
  Cognition is not a representation of an objectively existing world
  but is a bringing forth of a world in the process of living.
  -- Fritjof Capra, citing 
     Humberto Maturana and Francisco Varella's "Santiago Theory of Cognition"
  _______________________________________________
  Mono-devel-list mailing list
  Mono-devel-list at lists.ximian.com
  http://lists.ximian.com/mailman/listinfo/mono-devel-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040819/cc19b14b/attachment.html 


More information about the Mono-devel-list mailing list