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

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


Hi!

Petter Urkedal <urkedal at nbi.dk> 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) - http://bdwgc.cvs.sourceforge.net/viewvc/bdwgc/bdwgc/include/gc.h?r1=1.67&r2=1.68&sortby=date
> 
> 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).

Bye.


More information about the Gc mailing list