From owner-sc22wg5@open-std.org  Tue Dec  9 19:58:52 2008
Return-Path: <owner-sc22wg5@open-std.org>
X-Original-To: sc22wg5-dom7
Delivered-To: sc22wg5-dom7@www2.open-std.org
Received: by www2.open-std.org (Postfix, from userid 521)
	id D640ACA343D; Tue,  9 Dec 2008 19:58:52 +0100 (CET)
X-Original-To: sc22wg5@open-std.org
Delivered-To: sc22wg5@open-std.org
Received: from smtp.llnl.gov (nspiron-3.llnl.gov [128.115.41.83])
	by www2.open-std.org (Postfix) with ESMTP id D75D7CA3439
	for <sc22wg5@open-std.org>; Tue,  9 Dec 2008 19:58:50 +0100 (CET)
X-Attachments: None
Received: from cyrus2.llnl.gov ([128.15.97.105])
  by smtp.llnl.gov with ESMTP; 09 Dec 2008 10:58:50 -0800
From: Aleksandar Donev <donev1@llnl.gov>
Organization: LLNL
To: sc22wg5@open-std.org
Subject: Re: (j3.2006) (SC22WG5.3798) [ukfortran] Ballot on the technical content of the TR
Date: Tue, 9 Dec 2008 10:58:50 -0800
User-Agent: KMail/1.9.4
References: <20081127193527.EF00DC178D9@www2.open-std.org> <20081209182926.6302BCA343D@www2.open-std.org> <20081209185327.4208BCA3439@www2.open-std.org>
In-Reply-To: <20081209185327.4208BCA3439@www2.open-std.org>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200812091058.50145.donev1@llnl.gov>
Sender: owner-sc22wg5@open-std.org
Precedence: bulk

On Tuesday 09 December 2008 10:53, N.M. Maclaren wrote:

> That says WHAT it intends to do, but not WHY those facilities are not
> needed but not (say) the ability to interoperate with derived types
> containing allocatable components.
Because:
1) No one proposed that and WG5 did not vote on it
2) It was proposed, and people thought it important, to provide C 
mechanisms to call Fortran procedures with assumed-shape, pointer, and 
allocatable arrays of interoperable type. WG5 voted on it "yes"
3) You were not there (I am serious).

If you believe "the ability to interoperate with derived types 
containing allocatable components" is essential that is fine, propose 
it and WG5 will vote.

Perhaps your issues are mostly with assumed-rank and assumed-type 
dummies? These were added to the TR mandate later, because:
1) It was seen as a major hole in interop (easy-to-use/safe interop with 
void* arguments) and inclusion in the TR was thus seen as a good idea 
(you can vote against it)
2) Descriptors provide a way to pass such dummies since they contain 
both some type and rank information, that C can then extract and use.

Best,
Aleks
