This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: symbol names are not created with stdcall syntax: MINGW, (GCC) 4.3.0 20061021
- From: rridge at csclub dot uwaterloo dot ca (Ross Ridge)
- To: gcc at gcc dot gnu dot org
- Date: Mon, 12 Mar 2007 13:06:14 -0400 (EDT)
- Subject: Re: symbol names are not created with stdcall syntax: MINGW, (GCC) 4.3.0 20061021
Ross Ridge wrote:
> Any library that needs to be able to be called from VisualBasic 6 or some
> other "stdcall only" environment should explictly declare it's exported
> functions with the stdcall calling convention.
Tobias Burnus writes:
> Thus, if I understood you correctly, you recommend that we add, e.g.,
> pragma support to gfortran with a pragma which adds the
> __attribute__((stdcall)) to the tree?
I have no idea what would be the best way to do it in Fortran, but yes,
something that would add the stdcall attribute.
Ross Ridge