wv bug?


Subject: wv bug?
From: John Buell (dadaist@mac.com)
Date: Mon Aug 20 2001 - 13:25:41 CDT


Here's what I got from building this morning:

/xmlparse/ -DXMLCONFIG=\"/usr/local/share/wv/wvConfig.xml\"
-DHTMLCONFIG=\"/usr/
local/share/wv/wvHtml.xml\" -I./libole2/ -I./oledecod/ "-I./glib-wv/"
-c ./wvR
TF.c
./wvRTF.c:225: illegal cast, missing `)' after `chp'
./wvRTF.c:225: illegal cast, missing `)' after `chp'
./wvRTF.c:225: syntax error, found `)'
./wvRTF.c:225: illegal expression, found `:'
./wvRTF.c:228: illegal cast, missing `)' after `chp'
./wvRTF.c:229: illegal cast, missing `)' after `chp'
./wvRTF.c:230: illegal cast, missing `)' after `chp'
./wvRTF.c:231: illegal cast, missing `)' after `chp'
./wvRTF.c:232: illegal cast, missing `)' after `chp'
./wvRTF.c:233: illegal cast, missing `)' after `chp'
cpp-precomp: warning: errors during smart preprocessing, retrying in
basic mode
In file included from /usr/include/machine/types.h:72,
                  from /usr/include/sys/types.h:72,
                  from /usr/include/unistd.h:3,
                  from ./config.h:52,
                  from ./wvRTF.c:2:
/usr/include/ppc/types.h:75: warning: ANSI C does not support `long long'
In file included from ./wvRTF.c:17:
./wv.h:2563: warning: ANSI C forbids const or volatile functions
./wv.h:2981: warning: ANSI C forbids const or volatile functions
cc -o wvRTF wvRTF.o getopt1.o getopt.o -L. -lwv -lz -liconv -lm

Now the ANSI complaints I've seen in lots of places before, but I hadn't
seen the 'illegal cast' message before. I've looked through the file and
I can't seem to find where it has a problem, unless it wants
ud->cFontSize = chp->hps;
to be
ud->cFontSize = (chp->hps);
?

-John



This archive was generated by hypermail 2b25 : Mon Aug 20 2001 - 13:28:04 CDT