(j3.2006) (SC22WG5.4783) [ukfortran] [WG5 letter ballot 4 on Fortran 2008 interpretations]
N.M. Maclaren
nmm1
Tue Sep 18 05:23:07 EDT 2012
On Sep 18 2012, Malcolm Cohen wrote:
>> 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."
>
> I remain of the view that the only reasonable interpretation of a
> requirement to interoperate with a syntax error is a requirement to
> produce a syntax error message.
I agree. Unfortunately, the wrinkle is that, in terms of the C standard,
this is a syntactic error that is not a syntax error (strictly, a breach
of a syntax rule or constraint).
Regards,
Nick Maclaren.
More information about the J3
mailing list