[Fortran,Patch] PR40955 - Save ext_attr such as STDCALL to .MOD file

Dennis Wassel dennis.wassel@googlemail.com
Tue Aug 4 08:49:00 GMT 2009


Hi,

> I do not know how to best create a test case, thus I have not added
> one. I think we badly need a test case for 32bit MinGW/Cygwin, which
> calls some STDCALL Windows ABI function.

I agree it would be nice to have a test here - but choosing a suitable
function from the Windows API that is a) available and the same on all
Windozes and b) sufficiently simple to prevent unneccessary bloat
seems non-trivial: I just browsed MSDN and the functions I considered
where either playing around with version-specific data structures or
complicated even for supposedly simple tasks. I will ask the mingw
guys if they have an idea for a suitable API function.
(Also there might be legal issues regarding the use [or rather the
source] of the Windows API specification. IANAL so I do not know the
details, but the mingw maintainers can get quite worked up about it).

Cheers,
Dennis



More information about the Gcc-patches mailing list