Re: Variable number of arguments
- From: salgerman@xxxxxxxxx
- Date: 22 Feb 2007 11:50:34 -0800
Yes, I am aware of all those issues; except, maybe, about the one
where the length of a string may come right after the string, as
opposed to all the way to the end of all declared arguments.
In any case, I have been cruising just fine as I have ported about
dozen libraries and getting ready to port about 100 programs; I do
have other C libraries being called from fortran and they all work.
So, -fno-underscoring is working so far within all my in-house
code...I would eventually have to link against a couple of 3rd party
libraries, though, so, thanks from bringing that to my attention.
Sure, C-fortran interoperability may have some gotchas, and that's
what I was trying to minimize, too, by using the same compiler in all
3 platforms.
As mentioned before, this same program works fine in MinGW and
Solaris, but not in Linux...with g95, anyway. I just tried with
Absoft compiler in Linux, and it worked, too....so, yes, things vary
from compiler to compiler, and from platform to platform with the same
compiler, as in my case...maybe is a library problem?
thanks
gsal
.
- Follow-Ups:
- 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
- Variable number of arguments
- Prev by Date: Re: what to buy now?
- Next by Date: Pentiium 4 Math Functions
- Previous by thread: Re: Variable number of arguments
- Next by thread: Re: Variable number of arguments
- Index(es):
Relevant Pages
|