Re[2]: [Gc]: Latest GC cvs commit (GNU Win32)

Ivan Maidanski ivmai at
Sun Oct 11 03:59:39 PDT 2009


Petter Urkedal <urkedal at> wrote:
> On 2009-10-11, Ivan Maidanski wrote:
> > For GNU-based toolchains to follow MS convention for stdcall symbols naming rules, I've added GC_UNDERSCORE_STDCALL macro (used both at build and import) -
> As for as I recall, identifiers which starts with an underscore followed
> by an uppercase letter is reserved at least by the C++ standard for
> internal use.
> > If someone knows a better way for it (using a linker option), please tell me.
> I'm not familiar with this platform, but why is it needed?

To compile to a DLL with MinGW (x86) and use it by VC++ (and vice versa).

For GC, this is of little use, since CreateThread should be avoided (in favor of _beginthreadex).


More information about the Gc mailing list