discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compiling corebase on Windows


From: Stefan Bidi
Subject: Re: Compiling corebase on Windows
Date: Sun, 25 Sep 2011 12:27:55 -0500

I'm still getting the error.  Corebase doesn't include any Windows headers, so it's something that is included as part of GNUstepBase/GSVersionMacros.h.  Adding the #define around GNUstepBase/GSVersionMacros.h doesn't do anything for me, same error but replaced with WINBOOL instead of BOOL.  How are other GNUstep libraries/applications not running into this same problem?

On Sun, Sep 25, 2011 at 12:21 PM, David Chisnall <theraven@sucs.org> wrote:
I had the same problem with libobjc2 on Windows.  I worked around it by doing something like this:

#define BOOL WINBOOL
#include <windows_stuff.h>
#undef BOOL

And then including Objective-C headers.

David

On 25 Sep 2011, at 18:19, Stefan Bidi wrote:

> I booted into Windows today and figured it would be a good idea to try corebase there.  I ran into some problems that I was able to fix, but I don't know what to do with the set of error I'm getting now.  It's about BOOL being defined by both windef.h and objc/objc.h.  I'm sure I'm screwing something up, can anyone more familiar with Windows please shed some light?  I've attached the output.
>
> Stef
> <output>_______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep


-- Sent from my brain



reply via email to

[Prev in Thread] Current Thread [Next in Thread]