write recursive call

Richard E Maine Richard.Maine@nasa.gov
Mon Nov 28 18:06:00 GMT 2005


On Nov 28, 2005, at 12:47 AM, François-Xavier Coudert wrote:

>> I don't recall whether I've seen that the runtime library has 
>> switchable
>> standardization.
>
> The runtime library can issue warnings and errors depending on the
> standard and pedanticity selected at compile-time (options -std and
> -pedantic).

This would seem to be problematic, as different source files could have 
been compiled with different switches. Some features aren't necessarily 
isolated to single source files.  For example, as someone else 
mentioned, recursive I/O often (and even typically) involves two 
different procedures. Neither procedure alone makes the I/O recursive; 
the recursion only happens when you use the two together.

I've seen some run-time things that end up being controlled by the 
switch settings used for the main program. Though that can still raise 
"issues" (such as what happens if the main program is not in Fortran). 
It is also likely "distant" from the code that depends on the settings.

-- 
Richard Maine                |  Good judgment comes from experience;
Richard.Maine@nasa.gov       |  experience comes from bad judgment.
                             |        -- Mark Twain



More information about the Fortran mailing list