[comp.windows.x] Problem compiling new version of twm

harry@rainbow.atmos.washington.edu (Harry Edmon) (09/24/88)

The new version of twm from comp.sources.x does not compile.  Here is the
compiler output:

cc -O -I/usr/local/src/X   -c util.c
"util.c", line 69: sy1 undefined
"util.c", line 69: yb undefined
"util.c", line 70: r undefined
"util.c", line 70: xr undefined
"util.c", line 73: xl undefined
"util.c", line 74: yt undefined
"util.c", line 83: xthird undefined
"util.c", line 94: ythird undefined
"util.c", line 105: syntax error at or near word "if"
"util.c", line 105: warning: undeclared initializer name outline
"util.c", line 107: warning: undeclared initializer name root
"util.c", line 107: warning: undeclared initializer name r
"util.c", line 107: syntax error at or near symbol ;
"util.c", line 177: syntax error at or near variable name "dth"
"util.c", line 178: height undefined
"util.c", line 178: pheight undefined
"util.c", line 180: pid undefined
"util.c", line 180: gc undefined
"util.c", line 180: ximage undefined
"util.c", line 180: pwidth undefined
"util.c", line 181: void function Zoom cannot return value
"util.c", line 182: warning: statement not reached
"util.c", line 202: syntax error at or near type word "Pixmap"
"util.c", line 209: gc undefined
"util.c", line 209: width undefined
"util.c", line 209: height undefined
"util.c", line 209: data undefined
"util.c", line 209: void function Zoom cannot return value
"util.c", line 209: operands of RETURN have incompatible types
"util.c", line 227: syntax error at or near type word "char"
"util.c", line 233: name undefined
"util.c", line 233: warning: statement not reached
"util.c", line 234: void function Zoom cannot return value
"util.c", line 239: void function Zoom cannot return value
"util.c", line 239: operands of RETURN have incompatible types
"util.c", line 253: syntax error at or near type word "void"
"util.c", line 253: fatal error: too many errors
*** Error code 1

Stop.
--
Harry Edmon                         ARPA:   harry@rainbow.atmos.washington.edu
(206) 543-0547                      UUCP:   uw-beaver!geops!elnino!harry
Department of Atmospheric Sciences  BITNET: HARRY@UWARITA
University of Washington

harry@rainbow.atmos.washington.edu (Harry Edmon) (09/24/88)

Looking again, I found that util.c (part 3 of twm) arrived here garbled
(the character count is wrong).  Could someone send me the correct 
version?
--
Harry Edmon                         ARPA:   harry@rainbow.atmos.washington.edu
(206) 543-0547                      UUCP:   uw-beaver!geops!elnino!harry
Department of Atmospheric Sciences  BITNET: HARRY@UWARITA
University of Washington