dotgnu-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [DotGNU]cscc - Constant coercion in function calls.


From: Rhys Weatherley
Subject: Re: [DotGNU]cscc - Constant coercion in function calls.
Date: Sat, 26 Oct 2002 14:18:16 +1000

Jonathan P Springer wrote:

> I'm willing either (a) edit pnetlib all over or (b) hack cscc to resolve
> this problem; however, I would like some guidance on preferred
> direction.

Implicit coercions from signed to unsigned types are supposed
to be possible if the constant fits into the unsigned range.
e.g. 0 and 3 will coerce, but not -1.  This is a bug in cscc,
since pnetlib compiles cleanly in other C# compilers.  Start
with "cg_coerce.c" and "cs_invoke.tc".

Cheers,

Rhys.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]