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

Petter Urkedal urkedal at nbi.dk
Sun Oct 11 04:16:48 PDT 2009


On 2009-10-11, Ivan Maidanski wrote:
> 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).

So, the VC++ build system adjusts the identifiers and the other does
not?  I see.  As far as I understand this won't affect non-Windows.


More information about the Gc mailing list