From owner-sc22wg5+sc22wg5-dom8=www.open-std.org@open-std.org  Sun Sep 16 00:25:29 2012
Return-Path: <owner-sc22wg5+sc22wg5-dom8=www.open-std.org@open-std.org>
X-Original-To: sc22wg5-dom8
Delivered-To: sc22wg5-dom8@www.open-std.org
Received: by www.open-std.org (Postfix, from userid 521)
	id DEDF3356925; Sun, 16 Sep 2012 00:25:29 +0200 (CEST)
Delivered-To: sc22wg5@open-std.org
Received: from nm19.access.bullet.mail.sp2.yahoo.com (nm19.access.bullet.mail.sp2.yahoo.com [98.139.44.146])
	by www.open-std.org (Postfix) with SMTP id 11C70356925
	for <sc22wg5@open-std.org>; Sun, 16 Sep 2012 00:25:26 +0200 (CEST)
Received: from [98.139.44.107] by nm19.access.bullet.mail.sp2.yahoo.com with NNFMP; 15 Sep 2012 22:25:25 -0000
Received: from [98.139.44.65] by tm12.access.bullet.mail.sp2.yahoo.com with NNFMP; 15 Sep 2012 22:25:25 -0000
Received: from [127.0.0.1] by omp1002.access.mail.sp2.yahoo.com with NNFMP; 15 Sep 2012 22:25:25 -0000
X-Yahoo-Newman-Id: 736871.9432.bm@omp1002.access.mail.sp2.yahoo.com
Received: (qmail 78382 invoked from network); 15 Sep 2012 22:25:25 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1347747925; bh=AO716lEtEvIlzrWGXDj5lLsz0HaTp9SiH4vBOLkc/0o=; h=X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=0ewQiTAf/BZLrGuLINvwblLipZpIwM22Zcb3YBJvGX4LoJscOi4+Eq4tdShxTqUbknYfmj2LsQSr0haoyx2hWedXJA3amdyXujUlFIaOrHAGaBesFvQEfZcgRVQ8JT9k3LFxC4WkvD4z810k8e3p2B3mnfwwGtZ2ShhcQc5zWzo=
X-Yahoo-Newman-Property: ymail-3
X-YMail-OSG: Y2jKJcgVM1nHCYH9SfQi1AJJnmUlAmN6dgIbza1V2G5M5l_
 R.aamsClSKJx2_o2vm_6LGGr67S5oUOeHwju4qhL97.IxzlfEq9L3fwV1w0p
 nRd6A9Vc9dXX4XuCXB3P3PCdItkV.HGu7alFVUIsuikfT.KBG8ITskvIi2gw
 ymssIMWQGRnU6wZuNoPkeOQ_ymCO48VkHrhXrOqH3La9prDmb4QH3UizRsk8
 16KxJY5NQwfwtO1l.sXihndaVsYB4vsmnqxLmV6f9L0izNls57vic5LMEED8
 cB2QiHpgyFy7UwGmp7u06qPmvHy93wB91uux.MrYw6edWt63EZJz5cijVl_o
 tcWeybjlQ5q7PakTFSw_dcCpo6PjjRf79HG_hhPlTUI8q9wfch0gbhhozGg8
 wi4SR6oRBaNMsfiCb6XleFeHJZqP4Goc9biJWdVy.DAEuhtvo3_tUFxl1mRy
 40QYf
X-Yahoo-SMTP: EsWMRgGswBCJ115Lh3i7tuoFc7oZg_W1NL_P8LouqQe9CakaKQ--
Received: from [192.168.1.11] (van.snyder@76.208.161.211 with plain)
        by smtp107.sbc.mail.ne1.yahoo.com with SMTP; 15 Sep 2012 15:25:24 -0700 PDT
Message-ID: <50550053.70105@jpl.nasa.gov>
Date: Sat, 15 Sep 2012 15:25:23 -0700
From: Van Snyder <van.snyder@jpl.nasa.gov>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.6) Gecko/20070802 SeaMonkey/1.1.4
MIME-Version: 1.0
To: "N.M. Maclaren" <nmm1@cam.ac.uk>
CC: sc22wg5 <sc22wg5@open-std.org>
Subject: Re: [ukfortran] (SC22WG5.4776) [WG5 letter ballot 4 on Fortran 2008
 interpretations]
References: <20120914232724.BB7E5356938@www.open-std.org> <Prayer.1.3.5.1209150833200.28139@hermes-1.csi.cam.ac.uk>
In-Reply-To: <Prayer.1.3.5.1209150833200.28139@hermes-1.csi.cam.ac.uk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-sc22wg5@open-std.org
Precedence: bulk

N.M. Maclaren wrote:
> This is merely a remark on a response, not a response.
>
> On Sep 15 2012, Van Snyder wrote:
>>
>> -C-  ---  F08/0057   Interoperability with empty types
>>
>>          Does this need a compatibility caveat in 1.6?
>
> I doubt it.  While empty structures are allowed in C++, including in its
> C mode, and they are allowed as an extension in gcc and Intel C, it IS
> explicitly and clearly illegal in C and has not been added even to C11.
> Despite the statement in the question, it is neither a syntax error nor
> a constraint in C - it is merely forbidden, and so can be extended
> without needing a warning - but compatibility caveats for 
> interoperability
> with extended C languages does seem to be going a bit far.

Just because one declares a type with the BIND(C) attribute, and creates 
objects of that type, doesn't mean they are actually ever used for 
interoperation.  Bizarre, yes, but permitted by the standard -- until 
this interp.  Compatibility caveats in 1.6 are for compatibility with 
earlier Fortran standards, not for interoperability.  "We allowed this 
in Fortran 2003, but not any more."

