"Ge van Geldorp" <[EMAIL PROTECTED]> writes: > __attribute__ seems most logical to me. Perhaps __attribute__(__msvccall__) > (in the __attribute__(__stdcall__) tradition? An alternative to -msvc could > perhaps be -mrtd ("Alternate calling convention"). For i386 builds of gcc, > -mrtd makes stdcall the default calling convention. It is currently a noop > for x86_64. I kind of like your -msvc though :-) > For Wine the compiler option seems more important then the override.
Just the other way around actually, Wine can't use a global option since we have to call Unix functions. The only way is to have an explicit attribute on Windows APIs. -- Alexandre Julliard [EMAIL PROTECTED]