dotgnu-general
[Top][All Lists]
Advanced

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

Re: [DotGNU]__gc arrays


From: Rhys Weatherley
Subject: Re: [DotGNU]__gc arrays
Date: Wed, 21 Apr 2004 07:55:16 +1000
User-agent: KMail/1.4.3

On Wednesday 21 April 2004 07:02 am, Alex Stephens wrote:
> Hi,
>
> I'm trying to port several C apps from windows to linux and I'd like to use
> pnet do this. However, I'm having problems getting bounds checking and
> garbage collection to work with C arrays. In visual C++ .net, this can be
> done with the __gc keyword e.g:
> int array[] = __gc new int[10];
> Could someone tell me if cscc supports __gc arrays or is there another way
> of using standard C++ subscripting on managed arrays?

cscc is a C compiler, not a C++ compiler.  There is some support for the 
Managed C++ keywords to assist with interoperation with C#, but this support 
is still in its infancy.  See the documentation in "pnet/doc/pnettools.texi"
for more information on the Managed C++ features that are supported.

Cheers,

Rhys.



reply via email to

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