dotgnu-pnet
[Top][All Lists]
Advanced

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

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


From: Gopal.V
Subject: [Pnet-developers] [bugs #8638] managed arrays in C compiler
Date: Thu, 22 Apr 2004 11:34:49 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040206 Firefox/0.8

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.

/**************************************************************************/
[bugs #8638] Latest Modifications:

Changes by: 
                Gopal.V <address@hidden>
'Date: 
                Thu 04/22/04 at 15:34 (Asia/Calcutta)

------------------ Additional Follow-up Comments ----------------------------
Strangely the code 

__box int array[] = new __box int[10];

does not compile for me .

But I think the attached patch fixes your problem ?.

I'll check in this after rhys's comments :)






/**************************************************************************/
[bugs #8638] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8638>
Project: DotGNU Portable.NET
Submitted by: 0
On: Wed 04/21/04 at 11:03

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  None
Assigned to:  None
Status:  Open


Summary:  managed arrays in C compiler

Original Submission:  The following declare managed arrays:

__box int array[]=new __box int[10];
int array __gc[] = __gc new int[10];

but then don't work with ordinary C subscripting i.e.

array[0]=0;

gives "subscripted value is neither array nor pointer" compiler error in both 
cases.

Follow-up Comments
------------------


-------------------------------------------------------
Date: Thu 04/22/04 at 15:34         By: t3rmin4t0r
Strangely the code 

__box int array[] = new __box int[10];

does not compile for me .

But I think the attached patch fixes your problem ?.

I'll check in this after rhys's comments :)






File Attachments
-------------------

-------------------------------------------------------
Date: Thu 04/22/04 at 15:34  Name: c_lvalue.tc.patch  Size: 1009KB   By: 
t3rmin4t0r
c_lvalue.tc Patch
http://savannah.gnu.org/bugs/download.php?item_id=8638&amp;item_file_id=1220






For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=8638>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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