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

Fergus Henderson fjh at cs.mu.OZ.AU
Wed May 9 22:21:20 AEST 2001


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.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
                                    |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
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