Re: warning #266: function declared implicitly



<emammendes@xxxxxxxxx> wrote:

> I am calling fortran from my a c program. Although an executbale is
> created the compiler returns
>
> warning #266: function declared implicitly
>
> How can I get rid of this warning message?

In addition to the other Rich's comments (both the humorous one and the
elaboration), I suspect that this message is from the C compiler
complaining about the C code. Inthat case, this would be a C question
instead of a Fortran one. The C compiler won't know or care that it is a
Fortran function. Do whatever you'd do in C anyway.

It would not surprise me at all if you also had other problems than just
this warning, but you haven't given enough information even about this
warning, much less about the other problems that I can see only through
my crystal ball. There are more possible issues than I could possibly
elaborate on in one posting. Since avoiding this warning message is
among the simplest related things, it leaves me suspicious that some of
the other issues are also there, but not yet showing.

Of course, I'm just guessing that it is a messsage from the C compiler,
because your question didn't even specify that much, just saying "the"
compiler, when two of them are involved.

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