Re: __gc arrays

Rhys Weatherley <[email protected]>
Newsgroups gmane.comp.gnu.dotgnu.developer
Organization Southern Storm Software, Pty Ltd
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.