PR 36322/36463

Paul Richard Thomas paul.richard.thomas@gmail.com
Fri Oct 24 11:21:00 GMT 2008


Dominique,

On Fri, Oct 24, 2008 at 12:10 PM, Dominique Dhumieres
<dominiq@lps.ens.fr> wrote:
>> I could be reading the F95 standard incorrectly, so you'll need
>> to decide for yourself.  The answer is 'yes' and gfortran is
>> giving a correct error message.
>
> Steve,
>
> Thanks for the answer. I think you are right, it is just odd to declare
> private ISO_C_BINDING that is designed to be public.

This is designed to prevent the unintentional spreading of symbols
from a module.  Thus, it might be that the procedure that uses a
module, which itself uses IOS_C_BINDING, has name clashes with
ISO_C_BINDING.  It is generally good practice only to make the
intended symbols PUBLIC, is it not?

Paul



-- 
The knack of flying is learning how to throw yourself at the ground and miss.
       --Hitchhikers Guide to the Galaxy



More information about the Fortran mailing list