On 4/24/07, <b class="gmail_sendername">Peter Dolding</b> <<a href="mailto:oiaohm@bluebottle.com">oiaohm@bluebottle.com</a>> wrote:<br><br><snip><br><br><div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Yes but select partial platforms stdcall is default. It is up to the<br>platform to set is default calling method. For some strange reason<br>mingw and cygwin is choosing cdecl. I find it strange since MSVC was<br>different.
<br><br>Gcc is a uniform build environment. Not a uniform calling convention..<br><br>Peter Dolding<br></blockquote></div><br>stdcall is not the default on any version of MSVC I have ever seen, cdecl is; so mingw using cdecl by default mimicks the behavior of MSVC. BTW, the versions I'm referring to are 6, 2003 (
7.1), and 2005 (8). The fact that Windows uses stdcall for most API functions does not mean that it is the default calling convention.<br><br>-ShadowFlare<br>