[Gtkradiant] [Bug 911] New: q2 tools don't build on debian woody gcc 3.3.2

gtkradiant@zerowing.idsoftware.com gtkradiant@zerowing.idsoftware.com
Sat, 01 Nov 2003 12:48:29 -0600


http://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=911

           Summary: q2 tools don't build on debian woody gcc 3.3.2
           Product: GtkRadiant
           Version: 1.3
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: game-q2
        AssignedTo: nurail@yahoo.com
        ReportedBy: ttimo@idsoftware.com


error follows:

gcc-3.3 -g -O2 `xml2-config --cflags` -Ibuild/release/tools/quake2/common
-Itools/quake2/common -Ibuild/release/libs -Ilibs -Ibuild/release/include
-Iinclude -c -o build/release/tools/quake2/qbsp3/brushbsp.o
tools/quake2/qbsp3/brushbsp.c
tools/quake2/qbsp3/brushbsp.c: In function `AllocBrush':
tools/quake2/qbsp3/brushbsp.c:306: error: `numthreads' undeclared (first use in
this function)
tools/quake2/qbsp3/brushbsp.c:306: error: (Each undeclared identifier is
reported only once
tools/quake2/qbsp3/brushbsp.c:306: error: for each function it appears in.)
tools/quake2/qbsp3/brushbsp.c: In function `FreeBrush':
tools/quake2/qbsp3/brushbsp.c:324: error: `numthreads' undeclared (first use in
this function)
tools/quake2/qbsp3/brushbsp.c: In function `SelectSplitSide':
tools/quake2/qbsp3/brushbsp.c:846: error: `numthreads' undeclared (first use in
this function)
tools/quake2/qbsp3/brushbsp.c: In function `BuildTree_r':
tools/quake2/qbsp3/brushbsp.c:1179: error: `numthreads' undeclared (first use in
this function)
scons: *** [build/release/tools/quake2/qbsp3/brushbsp.o] Error 1
scons: done building targets.

I don't understand though, numthreads is declared extern in threads.h and qbsp.h
includes it. Debian Sid builds this fine. Could be related to bug 910