Re: Variable number of arguments
- From: nospam@xxxxxxxxxxxxx (Richard Maine)
- Date: Thu, 22 Feb 2007 17:31:49 -0800
<salgerman@xxxxxxxxx> wrote:
Well...never mind about this issue, and sorry. The thing is this
programs compiles and run in the other two platforms and it compiles
and runs in Linux with a couple other fortan compilar I have access to
(Absoft and Portland)...so, I don't know if this is a shortcoming of
g95 in Linux or just the installation.
I thought I answered that. As I mentioned before, different compilers do
it differently. So verifying that it works on some compilers doesn't
mean that it will work on others. It is a function of teh compiler - not
the operating system. It isn't a matter of a shortcoming, as there is no
standard for this. Have you checked into the issue I mentioned about the
position of the extra length argument for characters? That's sure what
it sounds like. It wasn't obvious to me that you had checked into that.
Note also that on some systems, you can't get by with just ignoring
extra arguments in C, even if they are on the end. It messes up the
stack or some such thing. I recall having problems with that on some Sun
systems. You actually have to have the arguments agree, even if you end
up not using some of them.
--
Richard Maine | Good judgement comes from experience;
email: last name at domain . net | experience comes from bad judgement.
domain: summertriangle | -- Mark Twain
.
- Follow-Ups:
- Re: Variable number of arguments
- From: glen herrmannsfeldt
- Re: Variable number of arguments
- From: salgerman
- Re: Variable number of arguments
- References:
- Variable number of arguments
- From: salgerman
- Re: Variable number of arguments
- From: Richard Maine
- Re: Variable number of arguments
- From: salgerman
- Re: Variable number of arguments
- From: salgerman
- Variable number of arguments
- Prev by Date: Re: Variable number of arguments
- Next by Date: Re: Variable number of arguments
- Previous by thread: Re: Variable number of arguments
- Next by thread: Re: Variable number of arguments
- Index(es):
Relevant Pages
|