Re: Huge program, no interfaces, ugh



On Jan 31, 12:01 pm, "Ancient_Hacker" <g...@xxxxxxxxxxx> wrote:

It sure would be nice if the compiler required interfaces for every
called function or subroutine.

You don't say which compiler you're using. The Intel Fortran compiler
has options "-gen-interface -warn interface" which, used together,
tells the compiler to automatically generate modules with interfaces
for each routine compiled and then to look for the corresponding
module when it sees a call to a routine for the purpose of error
checking. This can be quite handy.


Steve Lionel
Developer Products Division
Intel Corporation
Nashua, NH

User communities for Intel Software Development Products
http://softwareforums.intel.com/
Intel Fortran Support
http://developer.intel.com/software/products/support/
My Fortran blog
http://www.intel.com/software/drfortran


.



Relevant Pages

  • Re: Multithreading on Multicore Processors
    ... I have an installation of Intel Fortran v9.something on my Windows XP ... the compiler, linker etc. ... The easy way to meet your goals is with OpenMP. ...
    (comp.lang.fortran)
  • Re: Problem with log function - Intel fortran compiler under Linux
    ... we are experiencing a rather nasty problem with the Intel Fortran ... compiler under Linux ... as one of the first statements, the value of aa becomes NaN and some ... Linux: Red Hat Enterprise Linux, ...
    (comp.lang.fortran)
  • Re: linker mistakes entry point in dll
    ... after tinkering with the makefile the project now compiles just fine ... When I bought this intel compiler I was somewhat alarmed ... > Please note that questions specific to Intel Fortran can be brought up in ... > Software Products Division ...
    (comp.lang.fortran)
  • Re: not able to compile fftw3 with ifc 7.1
    ... We have it built here with both Intel Fortran 7.1and Intel Fortran ... A new compiler won't help you. ... list of libraries to link to. ...
    (comp.lang.fortran)
  • Re: optional routine arguments
    ... Your original code is not legal Fortran, because it lacks the explicit interface for a routine with optional arguments. ... The problem is that the compiler has no way to know that it needs to pass something special to indicate that you omitted k. ... Current Intel Fortran with interface checking on gives, ... Developer Products Division ...
    (comp.lang.fortran)