[Mono-list] Build error with mcs

Jared Smith jaredsmith@jaredsmith.net
06 Apr 2002 08:44:44 -0700


I just changed the source from:

variable |= boolean;

to

variable = variable || boolean;

and that fixed the problem... It's not an elegant solution, but it does
the job.

Jared Smith

On Sat, 2002-04-06 at 02:55, Jonathan Stowe wrote:
> Having built mono with garbage collection it doesn't run out of memory
> anymore but:
> 
> [gellyfish@orpheus mcs]$ (cd mcs; make monomcs)
> ../jay/jay -ctv < ../jay/skeleton.cs cs-parser.jay > cs-parser.cs
> ../jay/jay: 2 rules never reduced
> ../jay/jay: 31 shift/reduce conflicts, 1 reduce/reduce conflict.
> mcs  --target exe -o mcs4.exe assign.cs attribute.cs driver.cs
> cs-parser.cs cs-tokenizer.cs tree.cs location.cs cfold.cs class.cs
> codegen.cs const.cs constant.cs decl.cs delegate.cs enum.cs ecore.cs
> expression.cs genericparser.cs interface.cs literal.cs modifiers.cs
> namespace.cs parameter.cs report.cs rootcontext.cs statement.cs support.cs
> typemanager.cs
> ./cs-tokenizer.cs(1384) error CS19: Operator | cannot be applied to
> operands of type `bool' and `bool'
> ./cs-tokenizer.cs(1400) error CS19: Operator | cannot be applied to
> operands of type `bool' and `bool'
> ./cs-tokenizer.cs(1438) error CS19: Operator | cannot be applied to
> operands of type `bool' and `bool'
> ./cs-tokenizer.cs(1515) error CS19: Operator | cannot be applied to
> operands of type `bool' and `bool'
> Error: Compilation failed
> RESULT: 1
> make: *** [monomcs] Error 1
> 
> 
> /J\
> -- 
> Jonathan Stowe                      |
> <http://www.gellyfish.com>          |      This space for rent
>                                     |
> 
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list