Huge program, no interfaces, ugh
- From: "Ancient_Hacker" <grg2@xxxxxxxxxxx>
- Date: 31 Jan 2007 09:01:36 -0800
HI, I have this relatively huge program, about 40,000 lines in 183
source files.
I've found lots of errors in the source code caused by arguments that
don't match the subroutine dummy argument type.
But the compiler doesnt find many of these by itself, as none of the
subroutines had interfaces (to start out with). I'm building up
interfaces as I go along, but the task is error-prone-- if I forget to
add "use glue" to a subroutine, it will silently compile anyway and
generate bad calls.
It sure would be nice if the compiler required interfaces for every
called function or subroutine.
Is there some Fortran option to require these?
Thanks,
grg
.
- Follow-Ups:
- Re: Huge program, no interfaces, ugh
- From: Greg Lindahl
- Re: Huge program, no interfaces, ugh
- From: Steve Lionel
- Re: Huge program, no interfaces, ugh
- From: Gordon Sande
- Re: Huge program, no interfaces, ugh
- From: Beliavsky
- Re: Huge program, no interfaces, ugh
- Prev by Date: Re: CVF and Vista
- Next by Date: Re: problem with library function
- Previous by thread: origin of a certain exercise
- Next by thread: Re: Huge program, no interfaces, ugh
- Index(es):
Relevant Pages
|