Re: __gc arrays

"Alex Stephens" <thorin1-bOv4yBwr/[email protected]>
Newsgroups gmane.comp.gnu.dotgnu.developer
Message-ID <[email protected]>
Thanks Rhys. I'm aware that cscc is a C compiler but I don't see why this should prevent managed arrays. In fact, I can get a managed array in cscc using:
__box int array[]=new __box int[10];
but then it won't work with normal subscripting i.e. array[0]=0; gives "subscripted value is neither array nor pointer" error.
If this functionality is not already implemented, I think it would make a very useful contribution to pnet (no buffer overflows or memory leaks in C code).

Regards,
Alex
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.