Re: Actual argument is incompatible with dummy argument



<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
.