Compiling V v1.90 with gcc v3.3.3 I found many pointer
type errors. This patch fixes them.
An example of the error messages is:
tcmdwin.cpp:84: error: invalid conversion from `int'
to `const char*'
I have only tested this patch with gcc v3.3.3. The V
source I used was from v-1.90.tar.gz.
Changes:
* vgui/includew/v/v_defs.h
* vgui/includex/v/v_defs.h
Correct the types of "NoList", "noKeyLbl" and "noSub".
* vgui/appgen/vgcode.cpp
Replace "notUsed" with "notChk" or "noKeyLbl" as
appropriate in generated code.
* vgui/appgen/vgcmdw.cpp
* vgui/draw/vdrwcmdw.cpp
* vgui/drawex/drawcmdw.cpp
* vgui/examp/mycmdwin.cpp
* vgui/iconed/viedcmdw.cpp
* vgui/icons/icondemo.cpp
* vgui/test/vtcmdwin.cpp
* vgui/test/vtcw2.cpp
* vgui/tutor/tcmdwin.cpp
* vgui/vopengl/bounce/bnccmdw.cpp
* vgui/vopengl/cube/cubecmdw.cpp
* vgui/vopengl/gears/gearcmdw.cpp
* vgui/vopengl/shapes/tglcmdw.cpp
* vgui/vopengl/spinbox/sboxcmdw.cpp
Replace "notUsed" with "notChk" or "noKeyLbl" as
appropriate.
Patch: fix pointer type errors