[m-rev.] diff: use MR_Bool instead of bool.

Tyson Dowd trd at cs.mu.OZ.AU
Wed May 9 23:07:56 AEST 2001


On 09-May-2001, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> On 09-May-2001, Tyson Dowd <trd at cs.mu.OZ.AU> wrote:
> > I am currently generating some code that does #using "bool.dll" (which
> > contains a namespace mercury.bool).
> 
> Ah, interesting: you can't write `bool' as a namespace name in MC++,
> but you can write it in IL and then import it into MC++ using #using.
> 
> > The strange thing is if you use
> >  	using namespace mercury;
> > instead of being inside the mercury namespace, you get a resonable error
> > message.  And if bool is a top-level namespace, you get no error message
> > at all.
> 
> It sounds like the MC++ compiler has some bugs in this area.
> It's probably a good idea to report them.

Yep, will do.

-- 
       Tyson Dowd           # 
                            #  Surreal humour isn't everyone's cup of fur.
     trd at cs.mu.oz.au        # 
http://www.cs.mu.oz.au/~trd #
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list