Re: io-unit has been opened



baf <baf@xxxxxxxxxxx> wrote:

If it is "illegal" to open the same file twice,

It is.

then the Intel Fortran compiler has a bug.

That does not follow. There are many, many things that are illegal for
programs to do, but that compilers are not required to enforce. Indeed
that is the case for the large majority of things in the language. Prior
to f90, that was the case for everything in the language - there were no
requirements for compilers to enforce anything. Diagnostics were purely
a quality of implementation matter.

The illegality of multiple simultaneous opens of the same file just
means that the compiler is not required to make it work. It does not
mean that the compiler is required to make it not work.

--
Richard Maine | Good judgement comes from experience;
email: last name at domain . net | experience comes from bad judgement.
domain: summertriangle | -- Mark Twain
.



Relevant Pages

  • Re: Determining a functions calling address
    ... > the one you have in a standard conforming mode. ... > illegality of taking the address of main, ... > void doThisStuff ... those compilers and I don't know where to get them. ...
    (comp.lang.cpp)
  • Re: ANSI C compliance
    ... One of the world's most used C compilers, gcc, has a command line ... But it has nothing to do with the C language, ... > platform might not work on another platform. ... Chars have 8 bits and plain char is signed. ...
    (comp.lang.c)
  • Re: Aztec C and Dosemu
    ... impossible) to configure the way we use compilers today and disk swapping, ... Upper case hurts my eyes:) Any comparison between an Applesoft program being considered structured and a C program that is structured would be in the eyes of the beholder IMO. ... Aztec C supports inline assembly and the linking of assembly language modules if one needs to. ...
    (comp.sys.apple2.programmer)
  • Re: Survey of intermediate program representations?
    ... Most of the compilers employ them in one-way or other. ... complete portability and language interoperability. ... widely available because of p-code. ... Not until recently did Java employ ...
    (comp.compilers)
  • No Starch Press Releases "Write Great Code, Volume 2"
    ... Thinking Low-Level, Writing High-Level ... Explains how compilers work and how to get the best quality output from ... code for those high-level language statements and data structures, ... In the early days of computing, programmers used high-level language code ...
    (comp.os.linux.announce)