From: Alan W. I. <ir...@be...> - 2002-08-05 16:31:32
|
On Mon, 5 Aug 2002, Vince Darley wrote: > I took it upon my self the test this, and it all works fine (for me!) so > I've committed a version of plplotter.c which removes all that tkInt > stuff..., plus the appropriate changes elsewhere. Thanks very much for getting rid of that dependence on tkInt. However, there is some more work to do because your changed version no longer builds on Linux. I think the first message is the fatal one, but some of those warnings may be serious as well. gcc -fPIC -c -O -I. -I/usr/include/tcl8.3/ -c plplotter.c -o shared/plplotter.o plplotter.c:440: conflicting types for `plPlotterCmd' plplot/plserver.h:41: previous declaration of `plPlotterCmd' plplotter.c: In function `plPlotterCmd': plplotter.c:536: warning: passing arg 3 of `Tk_CreateWindowFromPath' discards qualifiers from pointer target type plplotter.c:549: warning: passing arg 3 of `Tcl_CreateCommand' from incompatible pointer type plplotter.c: In function `PlPlotterWidgetCmd': plplotter.c:693: warning: passing arg 5 of `Tk_ConfigureValue' discards qualifiers from pointer target type plplotter.c:701: warning: passing arg 5 of `Tk_ConfigureInfo' discards qualifiers from pointer target type plplotter.c:821: warning: passing arg 3 of `Tk_GetScrollInfo' from incompatible pointer type plplotter.c:857: warning: passing arg 3 of `Tk_GetScrollInfo' from incompatible pointer type plplotter.c: In function `PlPlotterConfigureEH': plplotter.c:1022: warning: passing arg 2 of `Tcl_EventuallyFree' from incompatible pointer type plplotter.c: In function `Cmd': plplotter.c:1825: warning: passing arg 4 of `plTclCmd' from incompatible pointer type plplotter.c:1914: warning: passing arg 1 of `strtok' discards qualifiers from pointer target type plplotter.c:1941: warning: passing arg 1 of `strtok' discards qualifiers from pointer target type plplotter.c:2027: warning: passing arg 4 of `plTclCmd' from incompatible pointer type plplotter.c: In function `ConfigurePlPlotter': plplotter.c:2118: warning: passing arg 5 of `Tk_ConfigureWidget' from incompatible pointer type plplotter.c: In function `Openlink': plplotter.c:2414: warning: assignment discards qualifiers from pointer target type Alan |