Re: Actual argument is incompatible with dummy argument
- From: nospam@xxxxxxxxxxxxx (Richard Maine)
- Date: Tue, 28 Feb 2006 12:00:46 -0800
<jchauvin@xxxxxxxxx> wrote:
I get the f77 warning message on the legacy code segment shown below.
Can someone explain what the declaraction B(*)*(*) means and why I am
getting a warning message?
It means an assumed-size array (that's the first (*)) of assumed-length
(that's the *(*)) character strings.
The assumed-length means that the length wil be passed from the actual
argument. The assumed-size basically means that the compiler doesn't
know what the size is (and you can't do anything that needs the comipler
to know that).
The call you showed should be perfectly fine. Without full context, I
can't tell for sure, but either something relevant is omitted here or
the compiler message is bogus (or, I suppose, perhaps I missed
something).
--
Richard Maine | Good judgement comes from experience;
email: last name at domain . net | experience comes from bad judgement.
domain: summertriangle | -- Mark Twain
.
- References:
- Actual argument is incompatible with dummy argument
- From: jchauvin
- Actual argument is incompatible with dummy argument
- Prev by Date: Re: Python for Fortran programmers
- Next by Date: Re: Python for Fortran programmers
- Previous by thread: Actual argument is incompatible with dummy argument
- Next by thread: get "undefined reference" with routines contained in a module
- Index(es):