(j3.2006) (SC22WG5.4781) [ukfortran] [WG5 letter ballot 4 on Fortran 2008interpretations]

Malcolm Cohen malcolm
Tue Sep 18 04:07:35 EDT 2012


Van Snyder wrote:
>-C-  ---  F08/0057   Interoperability with empty types
>
>          Does this need a compatibility caveat in 1.6?

I think not.

Fortran 2003/8 says it interoperates with "struct t {};", and as the interp 
says: "How can a type be interoperable with a syntax error?".

i.e. the standard does not make sense => the code snippet is not actually 
conforming in the first place.

Cheers,
-- 
................................Malcolm Cohen, Nihon NAG, Tokyo. 




More information about the J3 mailing list