[Gtkradiant] broken bobtoolz build on Linux

EvilTypeGuy gtkradiant@zerowing.idsoftware.com
21 Sep 2002 14:17:49 -0500


On Sat, 2002-09-21 at 14:12, EvilTypeGuy wrote:
> On Fri, 2002-09-20 at 17:27, Timothee Besset wrote:
> > Same problem in prtview actually. I'm adding back the typedef int BOOL;
> > till we see clearer why there was an initial change.
> > 
> > TTimo
> 
> It built fine on mine, otherwise I wouldn't have made the changes. The
> changes were made because on any of my Linux boxes, they have conflicts
> with the bool datatype. Gef cleaned up most of this in the past, but
> there were still a few around.

Now that they've been changed back, I get this:

g++ -g -D_DEBUG `gtk-config --cflags` -Wall -g -D_GTK_ -D_BOBTOOLZGTK_
-Icontrib/bobtoolz/dialogs -I../STLport/stlport -Ilibs -Iinclude -c
Debug/contrib/bobtoolz/dialogs/dialogs-gtk.cpp -o
Debug/contrib/bobtoolz/dialogs/dialogs-gtk.o
In file included from Debug/contrib/bobtoolz/dialogs/dialogs-gtk.cpp:20:
Debug/contrib/bobtoolz/dialogs/../StdAfx.h:53: conflicting types for
`typedef int BOOL'
/usr/X11R6/include/X11/Xmd.h:158: previous declaration as `typedef CARD8
BOOL'
cons: *** [Debug/contrib/bobtoolz/dialogs/dialogs-gtk.o] Error 1

That's why I had changed it.

-eviltypeguy