Re: [Gc] GC minor fix for Win32
ivmai at mail.ru
Tue Oct 21 02:47:43 PDT 2008
> Are you sure this is always the case? See for example https://osdir.com/ml/gnu.mingw.devel/2003-03/msg00057.html. It sounds like this might at least be a problem with old tool chains?
> I also couldn't immediately find a mention of it anywhere near https://msdn.microsoft.com/en-us/library/ms679356(VS.85).aspx .
You are right! Latest open-watcom-w32api-0.4.zip (at least) solves the problem (i.e., "windows.h" includes "excpt.h").
> > -----Original Message-----
> > From: gc-bounces at napali.hpl.hp.com
> > [mailto:gc-bounces at napali.hpl.hp.com] On Behalf Of Ivan Maidanski
> > Sent: Monday, October 06, 2008 1:07 PM
> > To: gc at napali.hpl.hp.com
> > Subject: [Gc] GC minor fix for Win32
> > Hi!
> > "excpt.h" file should be included even for non-Gnu compilers
> > on MSWIN32 in mark.c (for GetExceptionCode macro to get
> > defined). This is required at least for Watcom C (and doesn't
> > hurt other Win32 compilers - VC++/IntelC++, Borland, DMC).
> > The patch is attached.
> > Bye.
More information about the Gc