[Top][All Lists]
[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: |
Sat, 24 Apr 2004 09:41:41 -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:
Sat 04/24/04 at 13:41 (Asia/Calcutta)
What | Removed | Added
---------------------------------------------------------------------------
Resolution | None | Fixed
Status | Open | Closed
------------------ Additional Follow-up Comments ----------------------------
Fixed in cvs - 24th April 2004
/**************************************************************************/
[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: Fixed
Assigned to: None
Status: Closed
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: Sat 04/24/04 at 13:41 By: t3rmin4t0r
Fixed in cvs - 24th April 2004
-------------------------------------------------------
Date: Thu 04/22/04 at 16:39 By: None
Thanks Gopal. I don't know why the code didn't compile for you; I was using
v0.6.4, and of course you have to include csharp.h. I will try to check out
your patch later on.
-------------------------------------------------------
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&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/