dotgnu-pnet
[Top][All Lists]
Advanced

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

Re: [Pnet-developers] [bugs #8638] managed arrays in C compiler


From: Alex Stephens
Subject: Re: [Pnet-developers] [bugs #8638] managed arrays in C compiler
Date: Fri, 23 Apr 2004 00:58:50 +0000

Thanks Gopal, I applied the patch and it seems to have fixed the subscripting 
problem.  I can now compile int x=array[0] for a managed array; however, if I 
try to assign values to managed array members e.g. array[0]=0, I get an 
"invalid lvalue in assignment" error.
Also, I don't seem able to use the "%i" format specifier i.e.
printf("%i",array[0]);
just produces "i" on stdout whereas the %s and %d format specifiers do seem to 
work. Is this another bug?

Regards,
Alex

On Fri, 23 Apr 2004 08:06:13 +1000, Rhys Weatherley wrote:

> On Friday 23 April 2004 01:34 am, Gopal.V wrote:
> 
> > I'll check in this after rhys's comments :)
> 
> Looks reasonable, although I don't think you need to worry about the raw 
> element type stuff for managed arrays as it shouldn't be possible to 
> construct a managed type that will require decaying pointers.
> 
> Cheers,
> 
> Rhys.
> 
> _______________________________________________
> Pnet-developers mailing list
> address@hidden
> http://dotgnu.org/mailman/listinfo/pnet-developers


reply via email to

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