Compiling LINUX Port: openbor.c...
Compiling LINUX Port: openborscript.c...
Compiling LINUX Port: sdl/joysticks.c...
Compiling LINUX Port: sdl/control.c...
In file included from openborscript.c:36:0:
openborscript.c: In function ‘mapstrings_systemvariant’:
source/openborscript/scriptcommon.h:60:60: error: comparison between pointer and zero character constant [-Werror=pointer-compare]
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^
openborscript.c:977:5: note: in expansion of macro ‘MAPSTRINGS’
MAPSTRINGS(varlist[0], svlist, _sv_the_end,
^~~~~~~~~~
openborscript.c:977:28: note: did you mean to dereference the pointer?
MAPSTRINGS(varlist[0], svlist, _sv_the_end,
^
source/openborscript/scriptcommon.h:60:38: note: in definition of macro ‘MAPSTRINGS’
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^~~~
openborscript.c: In function ‘mapstrings_entityproperty’:
source/openborscript/scriptcommon.h:60:60: error: comparison between pointer and zero character constant [-Werror=pointer-compare]
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^
openborscript.c:2991:5: note: in expansion of macro ‘MAPSTRINGS’
MAPSTRINGS(varlist[1], eplist, _ep_the_end,
^~~~~~~~~~
openborscript.c:2991:28: note: did you mean to dereference the pointer?
MAPSTRINGS(varlist[1], eplist, _ep_the_end,
^
source/openborscript/scriptcommon.h:60:38: note: in definition of macro ‘MAPSTRINGS’
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^~~~
source/openborscript/scriptcommon.h:60:60: error: comparison between pointer and zero character constant [-Werror=pointer-compare]
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^
openborscript.c:3013:9: note: in expansion of macro ‘MAPSTRINGS’
MAPSTRINGS(varlist[2], eplist_aiflag, _ep_aiflag_the_end,
^~~~~~~~~~
openborscript.c:3013:32: note: did you mean to dereference the pointer?
MAPSTRINGS(varlist[2], eplist_aiflag, _ep_aiflag_the_end,
^
source/openborscript/scriptcommon.h:60:38: note: in definition of macro ‘MAPSTRINGS’
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^~~~
source/openborscript/scriptcommon.h:60:60: error: comparison between pointer and zero character constant [-Werror=pointer-compare]
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^
openborscript.c:3023:13: note: in expansion of macro ‘MAPSTRINGS’
MAPSTRINGS(varlist[3], proplist_defense, _ep_defense_the_end,
^~~~~~~~~~
openborscript.c:3023:36: note: did you mean to dereference the pointer?
MAPSTRINGS(varlist[3], proplist_defense, _ep_defense_the_end,
^
source/openborscript/scriptcommon.h:60:38: note: in definition of macro ‘MAPSTRINGS’
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^~~~
source/openborscript/scriptcommon.h:60:60: error: comparison between pointer and zero character constant [-Werror=pointer-compare]
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^
openborscript.c:3031:9: note: in expansion of macro ‘MAPSTRINGS’
MAPSTRINGS(varlist[2], proplist_dot, _ep_dot_the_end,
^~~~~~~~~~
openborscript.c:3031:32: note: did you mean to dereference the pointer?
MAPSTRINGS(varlist[2], proplist_dot, _ep_dot_the_end,
^
source/openborscript/scriptcommon.h:60:38: note: in definition of macro ‘MAPSTRINGS’
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^~~~
source/openborscript/scriptcommon.h:60:60: error: comparison between pointer and zero character constant [-Werror=pointer-compare]
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^
openborscript.c:3038:9: note: in expansion of macro ‘MAPSTRINGS’
MAPSTRINGS(varlist[2], proplist_edelay, _ep_edelay_the_end,
^~~~~~~~~~
openborscript.c:3038:32: note: did you mean to dereference the pointer?
MAPSTRINGS(varlist[2], proplist_edelay, _ep_edelay_the_end,
^
source/openborscript/scriptcommon.h:60:38: note: in definition of macro ‘MAPSTRINGS’
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^~~~
source/openborscript/scriptcommon.h:60:60: error: comparison between pointer and zero character constant [-Werror=pointer-compare]
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^
openborscript.c:3045:9: note: in expansion of macro ‘MAPSTRINGS’
MAPSTRINGS(varlist[2], proplist_energycost, _ep_energycost_the_end,
^~~~~~~~~~
openborscript.c:3045:32: note: did you mean to dereference the pointer?
MAPSTRINGS(varlist[2], proplist_energycost, _ep_energycost_the_end,
^
source/openborscript/scriptcommon.h:60:38: note: in definition of macro ‘MAPSTRINGS’
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^~~~
source/openborscript/scriptcommon.h:60:60: error: comparison between pointer and zero character constant [-Werror=pointer-compare]
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^
openborscript.c:3052:9: note: in expansion of macro ‘MAPSTRINGS’
MAPSTRINGS(varlist[2], proplist_flash, _ep_flash_the_end,
^~~~~~~~~~
openborscript.c:3052:32: note: did you mean to dereference the pointer?
MAPSTRINGS(varlist[2], proplist_flash, _ep_flash_the_end,
^
source/openborscript/scriptcommon.h:60:38: note: in definition of macro ‘MAPSTRINGS’
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^~~~
source/openborscript/scriptcommon.h:60:60: error: comparison between pointer and zero character constant [-Werror=pointer-compare]
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^
openborscript.c:3059:9: note: in expansion of macro ‘MAPSTRINGS’
MAPSTRINGS(varlist[2], proplist_icon, _ep_icon_the_end,
^~~~~~~~~~
openborscript.c:3059:32: note: did you mean to dereference the pointer?
MAPSTRINGS(varlist[2], proplist_icon, _ep_icon_the_end,
^
source/openborscript/scriptcommon.h:60:38: note: in definition of macro ‘MAPSTRINGS’
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^~~~
source/openborscript/scriptcommon.h:60:60: error: comparison between pointer and zero character constant [-Werror=pointer-compare]
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^
openborscript.c:3067:9: note: in expansion of macro ‘MAPSTRINGS’
MAPSTRINGS(varlist[2], proplist_knockdowncount, _ep_knockdowncount_the_end,
^~~~~~~~~~
openborscript.c:3067:32: note: did you mean to dereference the pointer?
MAPSTRINGS(varlist[2], proplist_knockdowncount, _ep_knockdowncount_the_end,
^
source/openborscript/scriptcommon.h:60:38: note: in definition of macro ‘MAPSTRINGS’
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^~~~
source/openborscript/scriptcommon.h:60:60: error: comparison between pointer and zero character constant [-Werror=pointer-compare]
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^
openborscript.c:3074:9: note: in expansion of macro ‘MAPSTRINGS’
MAPSTRINGS(varlist[2], proplist_landframe, _ep_landframe_the_end,
^~~~~~~~~~
openborscript.c:3074:32: note: did you mean to dereference the pointer?
MAPSTRINGS(varlist[2], proplist_landframe, _ep_landframe_the_end,
^
source/openborscript/scriptcommon.h:60:38: note: in definition of macro ‘MAPSTRINGS’
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^~~~
source/openborscript/scriptcommon.h:60:60: error: comparison between pointer and zero character constant [-Werror=pointer-compare]
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^
openborscript.c:3081:9: note: in expansion of macro ‘MAPSTRINGS’
MAPSTRINGS(varlist[2], proplist_maps, _ep_maps_the_end,
^~~~~~~~~~
openborscript.c:3081:32: note: did you mean to dereference the pointer?
MAPSTRINGS(varlist[2], proplist_maps, _ep_maps_the_end,
^
source/openborscript/scriptcommon.h:60:38: note: in definition of macro ‘MAPSTRINGS’
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^~~~
source/openborscript/scriptcommon.h:60:60: error: comparison between pointer and zero character constant [-Werror=pointer-compare]
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^
openborscript.c:3088:9: note: in expansion of macro ‘MAPSTRINGS’
MAPSTRINGS(varlist[2], proplist_range, _ep_range_the_end,
^~~~~~~~~~
openborscript.c:3088:32: note: did you mean to dereference the pointer?
MAPSTRINGS(varlist[2], proplist_range, _ep_range_the_end,
^
source/openborscript/scriptcommon.h:60:38: note: in definition of macro ‘MAPSTRINGS’
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^~~~
source/openborscript/scriptcommon.h:60:60: error: comparison between pointer and zero character constant [-Werror=pointer-compare]
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^
openborscript.c:3095:9: note: in expansion of macro ‘MAPSTRINGS’
MAPSTRINGS(varlist[2], proplist_running, _ep_running_the_end,
^~~~~~~~~~
openborscript.c:3095:32: note: did you mean to dereference the pointer?
MAPSTRINGS(varlist[2], proplist_running, _ep_running_the_end,
^
source/openborscript/scriptcommon.h:60:38: note: in definition of macro ‘MAPSTRINGS’
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^~~~
source/openborscript/scriptcommon.h:60:60: error: comparison between pointer and zero character constant [-Werror=pointer-compare]
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^
openborscript.c:3103:9: note: in expansion of macro ‘MAPSTRINGS’
MAPSTRINGS(varlist[2], proplist_spritea, _ep_spritea_the_end,
^~~~~~~~~~
openborscript.c:3103:32: note: did you mean to dereference the pointer?
MAPSTRINGS(varlist[2], proplist_spritea, _ep_spritea_the_end,
^
source/openborscript/scriptcommon.h:60:38: note: in definition of macro ‘MAPSTRINGS’
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^~~~
source/openborscript/scriptcommon.h:60:60: error: comparison between pointer and zero character constant [-Werror=pointer-compare]
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^
openborscript.c:3110:9: note: in expansion of macro ‘MAPSTRINGS’
MAPSTRINGS(varlist[2], proplist_staydown, _ep_running_the_end,
^~~~~~~~~~
openborscript.c:3110:32: note: did you mean to dereference the pointer?
MAPSTRINGS(varlist[2], proplist_staydown, _ep_running_the_end,
^
source/openborscript/scriptcommon.h:60:38: note: in definition of macro ‘MAPSTRINGS’
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^~~~
source/openborscript/scriptcommon.h:60:60: error: comparison between pointer and zero character constant [-Werror=pointer-compare]
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^
openborscript.c:3122:13: note: in expansion of macro ‘MAPSTRINGS’
MAPSTRINGS(varlist[i], proplist_hostile_candamage, _ep_hcd_the_end,
^~~~~~~~~~
openborscript.c:3122:36: note: did you mean to dereference the pointer?
MAPSTRINGS(varlist[i], proplist_hostile_candamage, _ep_hcd_the_end,
^
source/openborscript/scriptcommon.h:60:38: note: in definition of macro ‘MAPSTRINGS’
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^~~~
source/openborscript/scriptcommon.h:60:60: error: comparison between pointer and zero character constant [-Werror=pointer-compare]
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^
openborscript.c:3135:9: note: in expansion of macro ‘MAPSTRINGS’
MAPSTRINGS(varlist[2], proplist_takeaction, _ep_ta_the_end,
^~~~~~~~~~
openborscript.c:3135:32: note: did you mean to dereference the pointer?
MAPSTRINGS(varlist[2], proplist_takeaction, _ep_ta_the_end,
^
source/openborscript/scriptcommon.h:60:38: note: in definition of macro ‘MAPSTRINGS’
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^~~~
source/openborscript/scriptcommon.h:60:60: error: comparison between pointer and zero character constant [-Werror=pointer-compare]
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^
openborscript.c:3142:9: note: in expansion of macro ‘MAPSTRINGS’
MAPSTRINGS(varlist[2], proplist_think, _ep_th_the_end,
^~~~~~~~~~
openborscript.c:3142:32: note: did you mean to dereference the pointer?
MAPSTRINGS(varlist[2], proplist_think, _ep_th_the_end,
^
source/openborscript/scriptcommon.h:60:38: note: in definition of macro ‘MAPSTRINGS’
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^~~~
openborscript.c: In function ‘mapstrings_playerproperty’:
source/openborscript/scriptcommon.h:60:60: error: comparison between pointer and zero character constant [-Werror=pointer-compare]
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^
openborscript.c:7301:5: note: in expansion of macro ‘MAPSTRINGS’
MAPSTRINGS(varlist[1], proplist, _pp_the_end,
^~~~~~~~~~
openborscript.c:7301:28: note: did you mean to dereference the pointer?
MAPSTRINGS(varlist[1], proplist, _pp_the_end,
^
source/openborscript/scriptcommon.h:60:38: note: in definition of macro ‘MAPSTRINGS’
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^~~~
openborscript.c: In function ‘mapstrings_setspawnentry’:
source/openborscript/scriptcommon.h:60:60: error: comparison between pointer and zero character constant [-Werror=pointer-compare]
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^
openborscript.c:9346:5: note: in expansion of macro ‘MAPSTRINGS’
MAPSTRINGS(varlist[0], proplist, _sse_the_end,
^~~~~~~~~~
openborscript.c:9346:28: note: did you mean to dereference the pointer?
MAPSTRINGS(varlist[0], proplist, _sse_the_end,
^
source/openborscript/scriptcommon.h:60:38: note: in definition of macro ‘MAPSTRINGS’
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^~~~
openborscript.c: In function ‘mapstrings_playerkeys’:
source/openborscript/scriptcommon.h:60:60: error: comparison between pointer and zero character constant [-Werror=pointer-compare]
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^
openborscript.c:9948:9: note: in expansion of macro ‘MAPSTRINGS’
MAPSTRINGS(varlist[i], proplist, _pk_the_end,
^~~~~~~~~~
openborscript.c:9948:32: note: did you mean to dereference the pointer?
MAPSTRINGS(varlist[i], proplist, _pk_the_end,
^
source/openborscript/scriptcommon.h:60:38: note: in definition of macro ‘MAPSTRINGS’
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^~~~
Compiling LINUX Port: sdl/sblaster.c...
openborscript.c: In function ‘mapstrings_textobjproperty’:
source/openborscript/scriptcommon.h:60:60: error: comparison between pointer and zero character constant [-Werror=pointer-compare]
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^
openborscript.c:10565:5: note: in expansion of macro ‘MAPSTRINGS’
MAPSTRINGS(varlist[1], proplist, _top_the_end,
^~~~~~~~~~
openborscript.c:10565:28: note: did you mean to dereference the pointer?
MAPSTRINGS(varlist[1], proplist, _top_the_end,
^
source/openborscript/scriptcommon.h:60:38: note: in definition of macro ‘MAPSTRINGS’
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^~~~
openborscript.c: In function ‘mapstrings_layerproperty’:
source/openborscript/scriptcommon.h:60:60: error: comparison between pointer and zero character constant [-Werror=pointer-compare]
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^
openborscript.c:10984:5: note: in expansion of macro ‘MAPSTRINGS’
MAPSTRINGS(varlist[0], typelist, _glt_the_end,
^~~~~~~~~~
openborscript.c:10984:28: note: did you mean to dereference the pointer?
MAPSTRINGS(varlist[0], typelist, _glt_the_end,
^
source/openborscript/scriptcommon.h:60:38: note: in definition of macro ‘MAPSTRINGS’
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^~~~
source/openborscript/scriptcommon.h:60:60: error: comparison between pointer and zero character constant [-Werror=pointer-compare]
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^
openborscript.c:10986:5: note: in expansion of macro ‘MAPSTRINGS’
MAPSTRINGS(varlist[2], proplist, _glp_the_end,
^~~~~~~~~~
openborscript.c:10986:28: note: did you mean to dereference the pointer?
MAPSTRINGS(varlist[2], proplist, _glp_the_end,
^
source/openborscript/scriptcommon.h:60:38: note: in definition of macro ‘MAPSTRINGS’
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^~~~
openborscript.c: In function ‘mapstrings_drawmethodproperty’:
source/openborscript/scriptcommon.h:60:60: error: comparison between pointer and zero character constant [-Werror=pointer-compare]
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^
openborscript.c:12125:5: note: in expansion of macro ‘MAPSTRINGS’
MAPSTRINGS(varlist[1], proplist, _dm_the_end,
^~~~~~~~~~
openborscript.c:12125:28: note: did you mean to dereference the pointer?
MAPSTRINGS(varlist[1], proplist, _dm_the_end,
^
source/openborscript/scriptcommon.h:60:38: note: in definition of macro ‘MAPSTRINGS’
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^~~~
openborscript.c: In function ‘mapstrings_gfxproperty’:
source/openborscript/scriptcommon.h:60:60: error: comparison between pointer and zero character constant [-Werror=pointer-compare]
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^
openborscript.c:13658:5: note: in expansion of macro ‘MAPSTRINGS’
MAPSTRINGS(varlist[1], proplist, _gfx_the_end,
^~~~~~~~~~
openborscript.c:13658:28: note: did you mean to dereference the pointer?
MAPSTRINGS(varlist[1], proplist, _gfx_the_end,
^
source/openborscript/scriptcommon.h:60:38: note: in definition of macro ‘MAPSTRINGS’
for(proplist_cursor = 0; LIST[proplist_cursor] != '\0'; proplist_cursor++){ \
^~~~
Compiling LINUX Port: sdl/timer.c...
Compiling LINUX Port: sdl/sdlport.c...
Compiling LINUX Port: sdl/video.c...
Compiling LINUX Port: sdl/videocommon.c...
Compiling LINUX Port: sdl/threads.c...
Compiling LINUX Port: sdl/menu.c...
Compiling LINUX Port: sdl/opengl.c...
cc1: all warnings being treated as errors
Compiling LINUX Port: sdl/loadgl.c...
Compiling LINUX Port: source/adpcmlib/adpcm.c...
make: *** [Makefile:658: openborscript.o] Error 1
make: *** Waiting for unfinished jobs....
Removing All LINUX Files...
Done!
I've tried different versions of gcc, from 7.3.0 to 7.3.1+20180406. I still get this error. My OS is Parabola Linux. What do I do? What other information do I need to specify?