discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Interface 0.1a Available


From: Chris B . Vetter
Subject: Re: Interface 0.1a Available
Date: Thu, 28 Feb 2002 09:19:28 -0800

On Wed, 27 Feb 2002 17:14:53 -0500
Ian Mondragon <copal@dragonhelix.org> wrote:
[...]
> Feedback is welcomed.

[...cut here...]

:0> gmake
Making all for tool interface...
[...]
gcc Widget.m -c \
-DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 
-DGNUSTEP_BASE_LIBRARY=1 -D_REENTRANT -fPIC -DGSWARN -DGSDIAGNOSE -O2 
-Wno-import -fgnu-runtime -I/usr/X11R6/include -I. -I/usr/local/include 
-I/usr/local/include -fgnu-runtime -I/usr/local/GNUstep/System/Headers 
-I/usr/local/include/libxml2/libxml -I/usr/local/include/libxml2 
-I/usr/local/include -I/root/GNUstep/Headers/gnustep 
-I/usr/local/GNUstep/Local/Headers/gnustep 
-I/usr/local/GNUstep/Network/Headers/gnustep 
-I/usr/local/GNUstep/System/Headers/gnustep 
-I/root/GNUstep/Headers/ix86/freebsd -I/root/GNUstep/Headers 
-I/usr/local/GNUstep/Local/Headers/ix86/freebsd 
-I/usr/local/GNUstep/Local/Headers 
-I/usr/local/GNUstep/Network/Headers/ix86/freebsd 
-I/usr/local/GNUstep/Network/Headers 
-I/usr/local/GNUstep/System/Headers/ix86/freebsd 
-I/usr/local/GNUstep/System/Headers \
-o shared_obj/ix86/freebsd/gnu-gnu-gnu/Widget.o
In file included from 
/usr/local/GNUstep/System/Headers/Foundation/NSObjCRuntime.h:27,
                 from 
/usr/local/GNUstep/System/Headers/Foundation/NSObject.h:38,
                 from 
/usr/local/GNUstep/System/Headers/Foundation/NSString.h:27,
                 from Interface.h:30,
                 from Widget.m:25:
/usr/local/GNUstep/System/Headers/objc/objc.h:42: redefinition of `BOOL'
/usr/X11R6/include/X11/Xmd.h:155: `BOOL' previously declared here
gmake[1]: *** [shared_obj/ix86/freebsd/gnu-gnu-gnu/Widget.o] Error 1
gmake: *** [interface.all.tool.variables] Error 2

[...cut here...]

System is FreeBSD-RELEASE 4.2, XFree 3.3.6_10 (I know, I know)

And here's a workaround:

--- Interface.h.org     Thu Feb 28 09:15:47 2002
+++ Interface.h Thu Feb 28 09:15:23 2002
@@ -27,7 +27,9 @@
 
 #import "XUtilities.h"
 
+#define BOOL XWINDOWSBOOL
 #import <Foundation/NSString.h>
+#undef BOOL
 
 #import <stdio.h>
 #import <stdlib.h>

-- 
Chris



reply via email to

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