This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: write recursive call



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]