Message from discussion ISO_C_BINDING / C interop question
From: "Joost" <jv...@cam.ac.uk>
Subject: Re: ISO_C_BINDING / C interop question
Date: 16 Feb 2006 23:31:19 -0800
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1140161487 10342 127.0.0.1 (17 Feb 2006 07:31:27 GMT)
NNTP-Posting-Date: Fri, 17 Feb 2006 07:31:27 +0000 (UTC)
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 1.0.3705),gzip(gfe),gzip(gfe)
Injection-Info: g44g2000cwa.googlegroups.com; posting-host=18.104.22.168;
Richard E Maine wrote:
> Richard E Maine <nos...@see.signature> wrote:
> > hmm. Apparently you
> > can't apply c_loc to a string. That seems to me like an oversight.
> > Strings are special-cased specifically so that you can pass them to C
> > functions without copying them to arrays of char. But I don't see a
> > similar special case for c_loc.
> I just emailed the J3 list suggesting that the inability to do C_LOC on
> a string is an oversight that ought to be fixed (at least in f2008, and
> arguably that it might even be an obvious and simple enough oversight to
> merit an f2003 corrgendum item, though I don't at all know whether that
> will fly).
I hope this makes it as a F2003 corrigendum...