------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/indexinfo-0.3.1.txz Installing /packages/All/gettext-runtime-0.20.1.txz Installing /packages/All/gmake-4.2.1_3.txz Installing /packages/All/ncurses-6.1.20190525.txz Installing /packages/All/aalib-1.4.r5_13.txz ===== Message from aalib-1.4.r5_13: -- ===> NOTICE: The aalib port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port Installing /packages/All/expat-2.2.8.txz Installing /packages/All/libffi-3.2.1_3.txz Installing /packages/All/libxml2-2.9.10.txz Installing /packages/All/wayland-1.16.0.txz Installing /packages/All/pciids-20200222.txz Installing /packages/All/libpciaccess-0.16.txz Installing /packages/All/libdrm-2.4.100.txz Installing /packages/All/libelf-0.8.13_3.txz Installing /packages/All/libXau-1.0.9.txz Installing /packages/All/libpthread-stubs-0.4.txz Installing /packages/All/xorgproto-2019.2.txz Installing /packages/All/libXdmcp-1.1.3.txz Installing /packages/All/libxcb-1.13.1.txz Installing /packages/All/libX11-1.6.9,1.txz Installing /packages/All/libXfixes-5.0.3_2.txz Installing /packages/All/libXdamage-1.1.5.txz Installing /packages/All/libXext-1.3.4,1.txz Installing /packages/All/libXrender-0.9.10_2.txz Installing /packages/All/libXrandr-1.5.2.txz Installing /packages/All/libxshmfence-1.3.txz Installing /packages/All/libXxf86vm-1.1.4_3.txz Installing /packages/All/mesa-libs-18.3.2_4.txz Installing /packages/All/libGLU-9.0.1.txz Installing /packages/All/sdl-1.2.15_14,2.txz ===== Message from sdl-1.2.15_14,2: -- Your SDL library has been built with libvgl support, which means that you can run almost any SDL application straight on your console (VESA 2.0 compatible videocard is required). To do this you have to load the vesa kernel module or enable it in your kernel, and set environment variable "SDL_VIDEODRIVER=vgl". Installing /packages/All/libogg-1.3.4,4.txz Installing /packages/All/flac-1.3.3.txz Installing /packages/All/libmikmod-3.3.11.1_1.txz Installing /packages/All/smpeg-0.4.4_15.txz Installing /packages/All/libvorbis-1.3.6,3.txz Installing /packages/All/timidity-0.2i_1.txz ===== Message from timidity-0.2i_1: -- ===> NOTICE: The timidity port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port Installing /packages/All/sdl_mixer-1.2.12_12.txz SUCCEEDED 00:00:07 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- ===> NOTICE: The rottdc port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> rottdc-1.0.2_8 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> NOTICE: The rottdc port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> rottdc-1.0.2_8 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by rottdc-1.0.2_8 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> NOTICE: The rottdc port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> rottdc-1.0.2_8 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by rottdc-1.0.2_8 for building => SHA256 Checksum OK for rottdc-1.0-2.tar.bz2. SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> NOTICE: The rottdc port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> rottdc-1.0.2_8 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by rottdc-1.0.2_8 for building ===> Extracting for rottdc-1.0.2_8 => SHA256 Checksum OK for rottdc-1.0-2.tar.bz2. Extracted Memory Use: 3.68M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for rottdc-1.0.2_8 ===> Applying ports patches for rottdc-1.0.2_8 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> rottdc-1.0.2_8 depends on executable: gmake - found ===> rottdc-1.0.2_8 depends on file: /usr/local/bin/sdl-config - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- ===> rottdc-1.0.2_8 depends on shared library: libSDL_mixer.so - found (/usr/local/lib/libSDL_mixer.so) ===> rottdc-1.0.2_8 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> rottdc-1.0.2_8 depends on executable: gmake - found ===> rottdc-1.0.2_8 depends on file: /usr/local/bin/sdl-config - found ===> rottdc-1.0.2_8 depends on shared library: libSDL_mixer.so - found (/usr/local/lib/libSDL_mixer.so) ===> rottdc-1.0.2_8 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) ===> Configuring for rottdc-1.0.2_8 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for rottdc-1.0.2_8 gmake[1]: Entering directory '/construction/games/rottdc/rottdc-1.0-2' cp -r rott rott-sw sed -i '' -Ee 's|(SHAREWARE) *0|\1 1|' rott-sw/develop.h sed -i '' -Ee 's|(SUPERROTT) *1|\1 1|' rott/develop.h gmake -C rott gmake[2]: Entering directory '/construction/games/rottdc/rottdc-1.0-2/rott' cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o cin_actr.o cin_actr.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o cin_efct.o cin_efct.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o cin_evnt.o cin_evnt.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o cin_glob.o cin_glob.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o cin_main.o cin_main.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o cin_util.o cin_util.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o dosutil.o dosutil.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o engine.o engine.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o fx_man.o fx_man.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o isr.o isr.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o modexlib.o modexlib.c fx_man.c: In function 'MUSIC_Continue': fx_man.c:1164:24: warning: pointer targets in passing argument 1 of 'MUSIC_PlaySong' differ in signedness [-Wpointer-sign] MUSIC_PlaySong(music_songdata, MUSIC_PlayOnce); ^~~~~~~~~~~~~~ In file included from fx_man.c:29: music.h:78:7: note: expected 'unsigned char *' but argument is of type 'char *' int MUSIC_PlaySong( unsigned char *song, int loopflag ); ^~~~~~~~~~~~~~ fx_man.c: In function 'MUSIC_PlaySong': fx_man.c:1200:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] music_songdata = song; ^ fx_man.c: In function 'MUSIC_PlaySongROTT': fx_man.c:1234:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] music_songdata = song; ^ cin_efct.c: In function 'DrawCinematicBackground': cin_efct.c:369:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buf=(byte *)bufferofs+ylookup[back->yoffset]; ^ cin_efct.c: In function 'DrawCinematicMultiBackground': cin_efct.c:421:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buf=(byte *)bufferofs+ylookup[back->yoffset]; ^ cin_efct.c: In function 'DrawCinematicBackdrop': cin_efct.c:475:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buf=(byte *)bufferofs; ^ cin_efct.c: In function 'DrawCinematicSprite': cin_efct.c:547:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buf=(byte *)bufferofs; ^ cin_efct.c: In function 'DrawClearBuffer': cin_efct.c:692:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] memset((byte *)bufferofs,0,MAXSCREENWIDTH*MAXSCREENHEIGHT); ^ cin_efct.c: In function 'ProfileDisplay': cin_efct.c:897:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buf=(byte *)bufferofs; ^ cin_efct.c: In function 'DrawPostPic': cin_efct.c:938:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buf=(byte *)bufferofs; ^ modexlib.c: In function 'VL_SetVGAPlaneMode': modexlib.c:509:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] page1start=(int)sdl_surface->pixels; ^ modexlib.c:510:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] page2start=(int)sdl_surface->pixels; ^ modexlib.c:511:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] page3start=(int)sdl_surface->pixels; ^ modexlib.c: In function 'VL_ClearBuffer': modexlib.c:620:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] memset((byte *)buf,color,screensize); ^ cin_evnt.c: In function 'ParseBack': cin_evnt.c:338:23: warning: 'width' may be used uninitialized in this function [-Wmaybe-uninitialized] event->effect = SpawnCinematicBack ( name, duration, width, startx, endx, yoffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_actor.o rt_actor.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_battl.o rt_battl.c cin_evnt.c: In function 'ParseFlic': cin_evnt.c:394:12: warning: 'loop' may be used uninitialized in this function [-Wmaybe-uninitialized] boolean loop; ^~~~ cin_evnt.c:395:12: warning: 'usefile' may be used uninitialized in this function [-Wmaybe-uninitialized] boolean usefile; ^~~~~~~ cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_build.o rt_build.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_cfg.o rt_cfg.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_crc.o rt_crc.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_com.o rt_com.c rt_build.c: In function 'DrawPlanePosts': rt_build.c:252:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buf=(byte *)(bufferofs); ^ rt_build.c:252:10: warning: pointer targets in assignment from 'byte *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] buf=(byte *)(bufferofs); ^ rt_build.c:271:53: warning: pointer targets in passing argument 3 of 'DrawRotPost' differ in signedness [-Wpointer-sign] DrawRotPost (height,shape+posts[i].texture,buf,posts[i].offset); ^~~ rt_build.c:89:6: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' void DrawRotPost ( int height, byte * src, byte * buf, int origheight) ^~~~~~~~~~~ cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_debug.o rt_debug.c rt_cfg.c: In function 'CheckVendor': rt_cfg.c:1064:28: warning: passing argument 1 of 'W_GetNumForName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] lump=W_GetNumForName(VENDORLUMP); ^~~~~~~~~~ In file included from rt_cfg.c:61: w_wad.h:35:32: note: expected 'char *' but argument is of type 'const char *' int W_GetNumForName (char *name); // Get the number for the named lump ~~~~~~^~~~ rt_cfg.c:1076:28: warning: passing argument 1 of 'W_GetNumForName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] lump=W_GetNumForName(VENDORLUMP); ^~~~~~~~~~ In file included from rt_cfg.c:61: w_wad.h:35:32: note: expected 'char *' but argument is of type 'const char *' int W_GetNumForName (char *name); // Get the number for the named lump ~~~~~~^~~~ cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_dmand.o rt_dmand.c rt_actor.c: In function 'FindAddresses': rt_actor.c:1004:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] tstate = (unsigned)(statetable[i]); ^ rt_actor.c:1012:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] tfunct = (unsigned)(statetable[i]->think); ^ rt_actor.c: In function 'CheckBounds': rt_actor.c:1026:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] tstate = (unsigned)(ob->state); ^ rt_actor.c:1027:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] tfunct = (unsigned)(ob->state->think); ^ rt_com.c: In function 'ReadPacket': rt_com.c:241:25: warning: pointer targets in passing argument 1 of 'CalculateCRC' differ in signedness [-Wpointer-sign] crc=CalculateCRC (&rottcom->data[0], rottcom->datalength-sizeof(word)); ^~~~~~~~~~~~~~~~~ In file included from rt_com.c:39: rt_crc.h:23:6: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' word CalculateCRC (byte *source, unsigned size); ^~~~~~~~~~~~ rt_actor.c: In function 'T_Count': rt_actor.c:2175:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] tempactor = (objtype*)(temp->whichobj); ^ rt_dmand.c: In function 'SD_UpdatePlaybackSound': rt_dmand.c:89:8: warning: pointer targets in assignment from 'byte *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] *ptr=&PlaybackBuffer[PlayingPointer]; ^ rt_build.c:271:10: warning: 'shape' may be used uninitialized in this function [-Wmaybe-uninitialized] DrawRotPost (height,shape+posts[i].texture,buf,posts[i].offset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_build.c: In function 'DrawTransformedPlanes': rt_build.c:403:27: warning: 'closest' may be used uninitialized in this function [-Wmaybe-uninitialized] closest->viewheight = 0; ~~~~~~~~~~~~~~~~~~~~^~~ cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_door.o rt_door.c rt_door.c: In function 'SaveTouchPlates': rt_door.c:402:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] tstat = (statobj_t*)(temp->whichobj); ^ rt_door.c:411:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] tactor = (objtype*)(temp->whichobj); ^ rt_door.c: In function 'LoadTouchPlates': rt_door.c:489:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] temp->whichobj = (int)(objlist[dummy.whichobj & ~FL_TACT]); ^ rt_door.c:492:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] temp->whichobj = (int)(GetStatForIndex(dummy.whichobj & ~FL_TSTAT)); ^ rt_door.c: In function 'DisplayMessageForAction': rt_door.c:713:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] objtype *tempactor = (objtype*)(temp->whichobj); ^ rt_door.c: In function 'SpawnDoor': rt_door.c:1234:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else rt=0; ^~~~ rt_door.c:1236:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' if ((up==1) && (dn==1)) ^~ rt_door.c: In function 'SpawnMaskedWall': rt_door.c:2141:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else rt=0; ^~~~ rt_door.c:2143:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' if ((up==1) && (dn==1)) ^~ rt_actor.c: In function 'T_DarkmonkLandAndFire': rt_actor.c:10062:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] EnableObject((int)column); ^ cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_draw.o rt_draw.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_floor.o rt_floor.c rt_door.c: In function 'SpawnPushWall': rt_door.c:3347:8: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] if (!texture&0x1000) ^~~~~~~~ rt_actor.c: In function 'A_DmonkAttack': rt_actor.c:10427:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] EnableObject((int)column); ^ rt_actor.c: In function 'DamageStaticObject': rt_actor.c:10657:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (tplate->whichobj == (int)(tempstat)) ^ rt_door.c: In function 'UseDoor': rt_door.c:1880:3: warning: this statement may fall through [-Wimplicit-fallthrough=] SD_StopSound(doorobjlist[door]->soundhandle); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_door.c:1881:2: note: here case dr_closed: ^~~~ rt_door.c:1885:3: warning: this statement may fall through [-Wimplicit-fallthrough=] SD_StopSound(doorobjlist[door]->soundhandle); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_door.c:1886:2: note: here case dr_open: ^~~~ rt_actor.c: In function 'ExplodeStatic': rt_actor.c:10873:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] tempstat->linked_to = (int)(LASTSTAT); ^ rt_actor.c: In function 'EnableObject': rt_actor.c:10900:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ob = (objtype*)object; ^ rt_actor.c: In function 'DisableObject': rt_actor.c:10948:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ob = (objtype*)object; ^ cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_game.o rt_game.c rt_draw.c: In function 'DrawWalls': rt_draw.c:1938:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buf=(byte *)(bufferofs); ^ rt_draw.c:1938:13: warning: pointer targets in assignment from 'byte *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] buf=(byte *)(bufferofs); ^ rt_draw.c:1946:31: warning: pointer targets in passing argument 2 of 'DrawWallPost' differ in signedness [-Wpointer-sign] DrawWallPost(post,buf); ^~~ rt_draw.c:1807:6: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' void DrawWallPost ( wallcast_t * post, byte * buf) ^~~~~~~~~~~~ rt_draw.c:1948:34: warning: pointer targets in passing argument 2 of 'DrawWallPost' differ in signedness [-Wpointer-sign] DrawWallPost(post,buf+1); ~~~^~ rt_draw.c:1807:6: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' void DrawWallPost ( wallcast_t * post, byte * buf) ^~~~~~~~~~~~ rt_draw.c:1962:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buf=(byte *)(bufferofs); ^ rt_draw.c:1962:13: warning: pointer targets in assignment from 'byte *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] buf=(byte *)(bufferofs); ^ rt_draw.c:1970:31: warning: pointer targets in passing argument 2 of 'DrawWallPost' differ in signedness [-Wpointer-sign] DrawWallPost(post,buf); ^~~ rt_draw.c:1807:6: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' void DrawWallPost ( wallcast_t * post, byte * buf) ^~~~~~~~~~~~ rt_draw.c: In function 'InterpolateWall': rt_draw.c:2403:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buf=(byte *)bufferofs; ^ rt_draw.c: In function 'InterpolateDoor': rt_draw.c:2485:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buf=(byte *)bufferofs+(plane->x1); ^ rt_draw.c: In function 'InterpolateMaskedWall': rt_draw.c:2629:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buf=(byte *)bufferofs+(plane->x1); ^ rt_draw.c: In function 'DrawPlayerLocation': rt_draw.c:2694:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] memset((byte *)bufferofs+(ylookup[i+PLY])+PLX,0,6); ^ rt_draw.c: In function 'DrawScaledScreen': rt_draw.c:2969:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buf=(byte *)bufferofs+ylookup[j]+x; ^ rt_draw.c: In function 'DoLoadGameSequence': rt_draw.c:3030:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] VL_CopyPlanarPageToMemory ( (byte *)bufferofs, destscreen ); ^ rt_draw.c: In function 'StartupRotateBuffer': rt_draw.c:3085:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] *(RotatedImage+99+((a+28)<<9)+b)=*((byte *)bufferofs+(a*linewidth)+b); ^ rt_draw.c: In function 'ScaleAndRotateBuffer': rt_draw.c:3129:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DrawRotatedScreen(160,100, (byte *)bufferofs,(angle>>16)&(FINEANGLES-1),scale>>6,0); ^ rt_draw.c:3135:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DrawRotatedScreen(160,100, (byte *)bufferofs,endangle&(FINEANGLES-1),endscale,0); ^ rt_draw.c:3137:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DrawRotatedScreen(160,100, (byte *)bufferofs,endangle&(FINEANGLES-1),endscale,0); ^ rt_draw.c:3139:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DrawRotatedScreen(160,100, (byte *)bufferofs,endangle&(FINEANGLES-1),endscale,0); ^ rt_draw.c: In function 'DrawScaledPost': rt_draw.c:3253:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ScaleMaskedPost(((p->collumnofs[offset])+src), (byte *)bufferofs+x); ^ rt_draw.c: In function 'ApogeeTitle': rt_draw.c:3308:45: warning: left shift of negative value [-Wshift-negative-value] dscale=((APOGEESCALEEND-APOGEESCALESTART)<<16)/time; ^~ rt_draw.c:3325:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DrawRotatedScreen(x,y>>16,(byte *)bufferofs,(angle>>16)&(FINEANGLES-1),scale>>16,1); ^ rt_draw.c:3339:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DrawRotatedScreen(x,y>>16,(byte *)bufferofs,0,APOGEESCALEEND,1); ^ rt_draw.c: In function 'DopefishTitle': rt_draw.c:3384:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] VL_CopyPlanarPage ( (byte *) displayofs, (byte *) bufferofs ); ^ rt_draw.c:3384:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] VL_CopyPlanarPage ( (byte *) displayofs, (byte *) bufferofs ); ^ rt_draw.c: In function 'RotationFun': rt_draw.c:3421:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DrawRotatedScreen(160,100,(byte *)bufferofs,angle,scale,0); ^ rt_draw.c: In function 'UpdateScreenSaver': rt_draw.c:3576:53: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DrawRotatedScreen(ScreenSaver->x,ScreenSaver->y, (byte *)bufferofs,ScreenSaver->angle,ScreenSaver->scale,0); ^ rt_draw.c: In function 'DrawBackground': rt_draw.c:3971:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] memcpy((byte *)bufferofs,bkgnd,size); ^ rt_draw.c: In function 'PrepareBackground': rt_draw.c:3995:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] memcpy(bkgnd,(byte *)bufferofs,size); ^ rt_floor.c: In function 'DrawSky': rt_floor.c:167:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DrawSkyPost((byte *)bufferofs + dest,src,height); ^ rt_floor.c: In function 'DrawFullSky': rt_floor.c:226:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DrawSkyPost((byte *)bufferofs + dest,src,viewheight); ^ rt_floor.c: In function 'DrawHLine': rt_floor.c:576:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] dest=(byte *)bufferofs+ylookup[yp]; ^ cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_in.o rt_in.c rt_game.c: In function 'V_ReDrawBkgnd': rt_game.c:189:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] origdest = (byte *)(bufferofs+ylookup[y]+x); ^ rt_game.c: In function 'DrawMPPic': rt_game.c:1559:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] olddest = (byte *)(ylookup[ypos] + xpos); ^ rt_game.c: In function 'DrawColoredMPPic': rt_game.c:1656:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] olddest = (byte *)(ylookup[ypos] + xpos); ^ rt_game.c: In function 'DrawPPic': rt_game.c:1852:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] olddest = (byte *)(ylookup[ypos] + xpos); ^ rt_game.c: In function 'SingleDrawPPic': rt_game.c:2079:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] olddest = (byte *)(bufferofs - screenofs + ylookup[ypos] + xpos); ^ rt_game.c: In function 'Drawpic': rt_game.c:2484:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] olddest = (byte *)(bufferofs + ylookup[ypos] + xpos); ^ rt_game.c: In function 'GM_MemToScreen': rt_game.c:2621:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] dest = (byte *)(ylookup[y]+x); ^ rt_game.c: In function 'BattleLevelCompleted': rt_game.c:3993:24: warning: comparison between 'Direction' {aka 'enum '} and 'enum ' [-Wenum-compare] while( ci.dir == (dirtype)key ); ^~ rt_in.c: In function 'IN_GetMouseButtons': rt_in.c:670:4: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static int tbl[] = {SDL_BUTTON_LEFT,SDL_BUTTON_RIGHT,SDL_BUTTON_MIDDLE,SDL_BUTTON_WHEELUP,SDL_BUTTON_WHEELDOWN}; ^~~~~ rt_in.c:678:11: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for(i=0;iETOUCH[tempstat->linked_to].x = MISCVARS->ETOUCH[tempstat->linked_to].y = 0; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_map.c: In function 'DrawMap_Wall': rt_map.c:166:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buf=(byte *)bufferofs+ylookup[y]+x; ^ rt_map.c: In function 'DrawMap_SkyTile': rt_map.c:234:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] rt_actor.c:10709:13: note: here case stat_tntcrate: ^~~~ buf=(byte *)bufferofs+ylookup[y]+x; ^ rt_main.c: In function 'main': rt_main.c:218:11: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for(i=0;itexture>>4)&0xfc0); ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_menu.c:391:47: warning: cast between incompatible function types from 'int (*)(int, int)' to 'void (*)(int)' [-Wcast-function-type] { CP_Active, "mm_opt2\0", 'R', (menuptr)CP_LoadGame }, ^ rt_menu.c:392:47: warning: cast between incompatible function types from 'int (*)(void)' to 'void (*)(int)' [-Wcast-function-type] { CP_Inactive, "mm_opt3\0", 'S', (menuptr)CP_SaveGame }, ^ rt_map.c: In function 'DoMap': rt_map.c:1038:19: warning: 'quitkey' may be used uninitialized in this function [-Wmaybe-uninitialized] while (Keyboard[quitkey]) ~~~~~~~~^~~~~~~~~ rt_menu.c: In function 'ScanForSavedGames': rt_menu.c:1529:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!_dos_findfirst (filename, 0, &f)) ^~ rt_menu.c:1544:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (found) ^~ rt_menu.c: In function 'SetUpControlPanel': rt_menu.c:1594:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] b=(byte *)bufferofs+i; ^ rt_menu.c: In function 'QuickSaveGame': rt_menu.c:3481:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] b=(byte *)bufferofs+i; ^ rt_menu.c: In function 'DefineKey': rt_menu.c:3915:13: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] IN_GetScanName( key ) ); ^~~~~~~~~~~~~~~~~~~~~ In file included from rt_menu.c:32: /usr/include/string.h:95:7: note: expected 'const char * restrict' but argument is of type 'byte *' {aka 'unsigned char *'} char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ rt_menu.c: In function 'DrawCustomKeyboard': rt_menu.c:5113:10: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] IN_GetScanName( buttonscan[ (unsigned int)order[ i ] ] ) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from rt_menu.c:32: /usr/include/string.h:95:7: note: expected 'const char * restrict' but argument is of type 'byte *' {aka 'unsigned char *'} char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_net.o rt_net.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_playr.o rt_playr.c rt_game.c: In function 'DrawNumber': rt_game.c:1037:11: warning: 'str' may be used uninitialized in this function [-Wmaybe-uninitialized] char *str; ^~~ rt_game.c:1036:13: warning: 'length' may be used uninitialized in this function [-Wmaybe-uninitialized] unsigned length,c; ^~~~~~ rt_door.c: In function 'SpawnDoor': rt_door.c:1307:29: warning: 'basetexture' may be used uninitialized in this function [-Wmaybe-uninitialized] lastdoorobj->basetexture = basetexture; ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_rand.o rt_rand.c rt_draw.c: In function 'InterpolateMaskedWall': rt_draw.c:2656:50: warning: 'p3' may be used uninitialized in this function [-Wmaybe-uninitialized] ScaleMaskedPost (p3->collumnofs[texture]+shape3,buf); ~~~~~~~~~~~~~~^~~~~~~~~ rt_draw.c:2656:19: warning: 'shape3' may be used uninitialized in this function [-Wmaybe-uninitialized] ScaleMaskedPost (p3->collumnofs[texture]+shape3,buf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_draw.c:2637:50: warning: 'topoffset' may be used uninitialized in this function [-Wmaybe-uninitialized] dc_texturemid=((pheight-nominalheight+topoffset)<>1); ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ rt_draw.c:2649:50: warning: 'p2' may be used uninitialized in this function [-Wmaybe-uninitialized] ScaleMaskedPost (p2->collumnofs[texture]+shape2,buf); ~~~~~~~~~~~~~~^~~~~~~~~ rt_draw.c:2649:19: warning: 'shape2' may be used uninitialized in this function [-Wmaybe-uninitialized] ScaleMaskedPost (p2->collumnofs[texture]+shape2,buf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_scale.o rt_scale.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_sound.o rt_sound.c rt_main.c: In function 'GameLoop': rt_main.c:1282:20: warning: 'shape' may be used uninitialized in this function [-Wmaybe-uninitialized] s = W_CacheLumpNum (shape, PU_CACHE, Cvt_patch_t, 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_scale.c: In function 'ScaleShape': rt_scale.c:535:72: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ScaleMaskedWidePost(((p->collumnofs[lastcolumn])+shape),(byte *)bufferofs,startx,width); ^ rt_scale.c:551:72: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ScaleMaskedWidePost(((p->collumnofs[lastcolumn])+shape),(byte *)bufferofs,startx,width); ^ rt_scale.c:564:66: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ScaleMaskedWidePost(((p->collumnofs[lastcolumn])+shape),(byte *)bufferofs,startx,width); ^ rt_scale.c:594:80: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ScaleMaskedWidePost(((p->collumnofs[frac>>SFRACBITS])+shape),(byte *)bufferofs,x1,1); ^ rt_scale.c:596:80: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ScaleMaskedWidePost(((p->collumnofs[frac>>SFRACBITS])+shape),(byte *)bufferofs,x1,2); ^ rt_scale.c:612:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] b=(byte *)bufferofs+startx; ^ rt_scale.c: In function 'ScaleTransparentShape': rt_scale.c:714:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] b=(byte *)bufferofs+startx; ^ rt_scale.c: In function 'ScaleSolidShape': rt_scale.c:802:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] b=(byte *)bufferofs+startx; ^ rt_scale.c: In function 'ScaleWeapon': rt_scale.c:891:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] b=(byte *)bufferofs+startx; ^ rt_scale.c: In function 'DrawUnScaledSprite': rt_scale.c:979:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] b=(byte *)bufferofs+startx; ^ rt_scale.c: In function 'DrawPositionedScaledSprite': rt_scale.c:1087:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] b=(byte *)bufferofs+startx; ^ rt_scale.c: In function 'DrawScreenSizedSprite': rt_scale.c:1163:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] b=(byte *)bufferofs; ^ rt_scale.c: In function 'DrawNormalSprite': rt_scale.c:1307:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buffer = (byte*)bufferofs+ylookup[y-p->topoffset]; ^ rt_sound.c: In function 'SD_PlayIt': rt_sound.c:396:34: warning: pointer targets in passing argument 1 of 'FX_PlayVOC3D_ROTT' differ in signedness [-Wpointer-sign] voice = FX_PlayVOC3D_ROTT( snd, W_LumpLength(SoundNumber(sndnum)), ^~~ In file included from rt_sound.c:23: fx_man.h:136:5: note: expected 'char *' but argument is of type 'byte *' {aka 'unsigned char *'} int FX_PlayVOC3D_ROTT( char *ptr, int size, int pitchoffset, int angle, int distance, ^~~~~~~~~~~~~~~~~ rt_sound.c:402:34: warning: pointer targets in passing argument 1 of 'FX_PlayWAV3D_ROTT' differ in signedness [-Wpointer-sign] voice = FX_PlayWAV3D_ROTT( snd, W_LumpLength(SoundNumber(sndnum)), ^~~ In file included from rt_sound.c:23: fx_man.h:138:5: note: expected 'char *' but argument is of type 'byte *' {aka 'unsigned char *'} int FX_PlayWAV3D_ROTT( char *ptr, int size, int pitchoffset, int angle, int distance, ^~~~~~~~~~~~~~~~~ rt_menu.c: In function 'DrawNewGameDiff': rt_menu.c:4309:4: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] DrawMenuBufPic( 25, newgameY[ w ], W_GetNumForName( "NEWG1" ) + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ( ToughMenuNum * 4 ) + x ); ~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_spbal.o rt_spbal.c rt_game.c: In function 'DrawPlayScreen': rt_game.c:489:7: warning: array subscript 5 is above array bounds of 'char *[5]' [-Warray-bounds] DrawGameString ( MEN_X + 44 - width, MEN_Y + 8, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Names[ character + 5 ], bufferofsonly ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_game.c:549:26: warning: 'shapenum' may be used uninitialized in this function [-Wmaybe-uninitialized] shape = ( pic_t * )W_CacheLumpNum( shapenum, PU_CACHE, Cvt_pic_t, 1 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_net.c: In function 'GetPacketSize': rt_net.c:1090:11: warning: 'size' may be used uninitialized in this function [-Wmaybe-uninitialized] return size; ^~~~ rt_game.c: In function 'GM_UpdateBonus': rt_game.c:2436:29: warning: 'shapenum' may be used uninitialized in this function [-Wmaybe-uninitialized] shape = ( pic_t * )W_CacheLumpNum( shapenum, PU_CACHE, Cvt_pic_t, 1 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_sqrt.o rt_sqrt.c rt_door.c: In function 'SpawnMaskedWall': rt_door.c:2526:13: warning: 'metal' may be used uninitialized in this function [-Wmaybe-uninitialized] if (metal==true) ^ rt_door.c:2552:30: warning: 'bottom' may be used uninitialized in this function [-Wmaybe-uninitialized] lastmaskobj->bottomtexture=bottom; ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ rt_door.c:2551:27: warning: 'above' may be used uninitialized in this function [-Wmaybe-uninitialized] lastmaskobj->toptexture=above; ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ rt_door.c:2550:27: warning: 'middle' may be used uninitialized in this function [-Wmaybe-uninitialized] lastmaskobj->midtexture=middle; ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ rt_door.c:2556:27: warning: 'side' may be used uninitialized in this function [-Wmaybe-uninitialized] lastmaskobj->sidepic=side; ~~~~~~~~~~~~~~~~~~~~^~~~~ cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_stat.o rt_stat.c rt_game.c: In function 'LevelCompleted': rt_game.c:3493:31: warning: 'dobonus' may be used uninitialized in this function [-Wmaybe-uninitialized] else if ( ( kr == 100 ) && ( dobonus ) ) ^~ rt_game.c:3418:38: warning: 'sr' may be used uninitialized in this function [-Wmaybe-uninitialized] if ( ( gamestate.secrettotal ) && ( sr != 100 ) ) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ rt_stat.c: In function 'ActivateLight': rt_stat.c:403:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] tstat = (statobj_t*)light; ^ rt_stat.c: In function 'DeactivateLight': rt_stat.c:415:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] tstat = (statobj_t*)light; ^ rt_stat.c: In function 'SpawnStatic': rt_stat.c:1236:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else if (zoffset!=-1) ^~~~ rt_stat.c:1253:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' temp->visspot = &spotvis[tilex][tiley]; ^~~~ cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_state.o rt_state.c rt_stat.c: In function 'CheckCriticalStatics': rt_stat.c:1790:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] RemoveStatic((statobj_t*)(rtemp->linked_to)); ^ cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_str.o rt_str.c In file included from rt_str.c:41: _rt_str.h:40:67: warning: cast between incompatible function types from 'void (*)(const char *, int *, int *)' to 'void (*)(const char *, int *, int *, font_t *)' {aka 'void (*)(const char *, int *, int *, struct *)'} [-Wcast-function-type] void (*USL_MeasureString)(const char *, int *, int *, font_t *) = (void (*)(const char *, int *, int *, font_t *))VW_MeasurePropString, ^ rt_str.c: In function 'VW_DrawClippedString': rt_str.c:116:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] *((byte *)(bufferofs+ylookup[y]+x)) = *source; ^ rt_str.c: In function 'VW_DrawPropString': rt_str.c:228:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] dest = origdest = (byte *)(bufferofs+ylookup[py]+px); ^ rt_str.c: In function 'VW_DrawIPropString': rt_str.c:298:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] dest = origdest = (byte *)(bufferofs+ylookup[py]+px); ^ rt_str.c: In function 'DrawIntensityChar': rt_str.c:1515:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] origdest = ( byte * )( bufferofs + ylookup[ py ] + px ); ^ cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_swift.o rt_swift.c rt_menu.c: In function 'CP_DisplayMsg': rt_menu.c:2953:10: warning: 'tri' may be used uninitialized in this function [-Wmaybe-uninitialized] DrawMenuBufPic( Q_X + 12, Q_Y + 11, tri ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_ted.o rt_ted.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_util.o rt_util.c rt_ted.c: In function 'CheckRTLVersion': rt_ted.c:1351:18: warning: pointer targets in passing argument 1 of 'SwapIntelLong' differ in signedness [-Wpointer-sign] SwapIntelLong(&RTLVersion); ^~~~~~~~~~~ In file included from rt_ted.c:43: rt_util.h:72:7: note: expected 'long int *' but argument is of type 'long unsigned int *' void SwapIntelLong (long *l); ^~~~~~~~~~~~~ rt_util.c: In function 'Error': rt_util.c:396:18: warning: pointer targets in passing argument 1 of 'UL_printf' differ in signedness [-Wpointer-sign] UL_printf (token); ^~~~~ In file included from rt_util.c:44: rt_util.h:89:7: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' void UL_printf (byte *str); ^~~~~~~~~ rt_util.c: In function 'SetPalette': rt_util.c:1320:19: warning: pointer targets in passing argument 1 of 'VL_SetPalette' differ in signedness [-Wpointer-sign] VL_SetPalette (pal); ^~~ In file included from rt_util.c:44: rt_util.h:87:7: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' void VL_SetPalette (byte *palette); ^~~~~~~~~~~~~ rt_ted.c: In function 'LinkActor': rt_ted.c:3588:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ClockLink(EnableObject,DisableObject,(int)ob,k); ^ rt_ted.c:3615:64: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] Link_To_Touchplate(touchx,touchy,swapaction,action,(int)ob,0); ^ rt_ted.c:3617:64: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] Link_To_Touchplate(touchx,touchy,action,swapaction,(int)ob,0); ^ rt_ted.c: In function 'SetupLights': rt_ted.c:4054:75: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] {Link_To_Touchplate(touchx,touchy,ActivateLight,DeactivateLight,(int)(sprites[i][j]),0); ^ rt_ted.c:4062:75: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] {Link_To_Touchplate(touchx,touchy,DeactivateLight,ActivateLight,(int)(sprites[i][j]),0); ^ rt_ted.c:4072:73: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] {Link_To_Touchplate(touchx,touchy,DeactivateLight,ActivateLight,(int)(sprites[i][j]),0); ^ rt_ted.c: In function 'PreCacheActor': rt_ted.c:649:10: warning: this statement may fall through [-Wimplicit-fallthrough=] end =W_GetNumForName("TOHRH8"); ^~~~~~~~~~~~~~~~~~~~~~~~~ rt_ted.c:650:3: note: here case b_robobossobj: ^~~~ rt_ted.c:690:10: warning: this statement may fall through [-Wimplicit-fallthrough=] end = W_GetNumForName("CREXP5"); ^~~~~~~~~~~~~~~~~~~~~~~~~ rt_ted.c:692:3: note: here case pillarobj: ^~~~ rt_stat.c:1806:5: warning: 'stype' may be used uninitialized in this function [-Wmaybe-uninitialized] SpawnStatic(stilex,stiley,stype,-1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_ted.c: In function 'SetupActors': rt_ted.c:6002:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6004:5: note: here case 108: ^~~~ rt_ted.c:6020:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6022:5: note: here case 112: ^~~~ rt_ted.c:6035:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6037:5: note: here case 116: ^~~~ rt_ted.c:6047:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6049:5: note: here case 120: ^~~~ rt_ted.c:6059:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6061:5: note: here case 144: ^~~~ rt_ted.c:6074:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6076:5: note: here case 152: ^~~~ rt_ted.c:6091:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6093:5: note: here case 148: ^~~~ rt_ted.c:6106:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6108:5: note: here case 158: ^~~~ rt_ted.c:6121:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6123:5: note: here case 194: ^~~~ rt_ted.c:6136:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6138:5: note: here case 180: ^~~~ rt_ted.c:6151:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6153:5: note: here case 188: ^~~~ rt_ted.c:6166:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6168:5: note: here case 184: ^~~~ rt_ted.c:6181:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6183:5: note: here case 216: ^~~~ rt_ted.c:6196:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6198:5: note: here case 224: ^~~~ rt_ted.c:6211:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6213:5: note: here case 220: ^~~~ rt_ted.c:6225:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6227:5: note: here case 288: ^~~~ rt_ted.c:6240:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6242:5: note: here case 296: ^~~~ rt_ted.c:6255:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6257:5: note: here case 292: ^~~~ rt_ted.c:6270:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6272:5: note: here case 324: ^~~~ rt_ted.c:6285:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6287:5: note: here case 332: ^~~~ rt_ted.c:6300:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6301:5: note: here case 328: ^~~~ rt_ted.c:6314:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6316:5: note: here case 360: ^~~~ rt_ted.c:6329:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6331:5: note: here case 368: ^~~~ rt_ted.c:6344:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6346:5: note: here case 364: ^~~~ rt_ted.c:6359:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6361:5: note: here case 396: ^~~~ rt_ted.c:6376:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6379:5: note: here case 404: ^~~~ rt_ted.c:6392:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6394:5: note: here case 400: ^~~~ rt_ted.c:6426:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6428:5: note: here case 408: ^~~~ cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_view.o rt_view.c rt_view.c: In function 'LoadColorMap': rt_view.c:450:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] colormap = (byte *)( ((int)colormap + 255)&~0xff); ^ rt_view.c:450:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] colormap = (byte *)( ((int)colormap + 255)&~0xff); ^ rt_view.c:464:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] redmap = (byte *)( ((int)redmap + 255)&~0xff); ^ rt_view.c:464:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] redmap = (byte *)( ((int)redmap + 255)&~0xff); ^ rt_view.c:477:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] playermaps[i] = (byte *)( ((int)playermaps[i] + 255)&~0xff); ^ rt_view.c:477:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] playermaps[i] = (byte *)( ((int)playermaps[i] + 255)&~0xff); ^ rt_actor.c: In function 'BloodDrip': rt_actor.c:3927:12: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] {int dx,dy,x,y,scale; ^ rt_actor.c:3927:14: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized] {int dx,dy,x,y,scale; ^ rt_str.c: In function 'US_LineInput': rt_str.c:1024:7: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!result) ^ rt_view.c: In function 'SetupLightLevels': rt_view.c:530:4: warning: 'glevel' may be used uninitialized in this function [-Wmaybe-uninitialized] SetLightLevels ( glevel ); ^~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_vid.o rt_vid.c rt_str.c: In function 'US_lineinput': rt_str.c:1333:11: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] return (result); ^ rt_vid.c: In function 'VL_MemToScreen': rt_vid.c:123:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] destline = (byte *)(bufferofs+ylookup[y+j]+x); ^ rt_vid.c: In function 'DrawTiledRegion': rt_vid.c:169:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] start = ( byte * )( bufferofs + x + ylookup[ y ] ); ^ rt_vid.c: In function 'VL_Bar': rt_vid.c:325:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] byte *dest = (byte *)(bufferofs+ylookup[y]+x); ^ rt_vid.c: In function 'VL_TBar': rt_vid.c:405:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] byte *dest = (byte *)(bufferofs+ylookup[y]+x); ^ rt_vid.c: In function 'VL_Hlin': rt_vid.c:483:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] byte *dest = (byte*)(bufferofs+ylookup[y]+x); ^ rt_vid.c: In function 'VL_Vlin': rt_vid.c:515:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] byte *dest = (byte*)(bufferofs+ylookup[y]+x); ^ rt_vid.c: In function 'VL_THlin': rt_vid.c:604:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] byte *dest = (byte*)(bufferofs+ylookup[y]+x); ^ rt_vid.c: In function 'VL_TVlin': rt_vid.c:662:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] byte *dest = (byte*)(bufferofs+ylookup[y]+x); ^ rt_vid.c: In function 'VL_DecompressLBM': rt_vid.c:1045:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] byte *screen = (byte *)bufferofs; ^ rt_vid.c: In function 'VL_DrawLine': rt_vid.c:1253:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] *((byte *)bufferofs+(x1>>16)+(ylookup[y1>>16]))=color; ^ rt_vid.c: In function 'DrawXYPic': rt_vid.c:1287:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buffer = (byte*)bufferofs+ylookup[y]; ^ cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_err.o rt_err.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o scriplib.o scriplib.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o w_wad.o w_wad.c rt_str.c: In function 'GetColor': rt_str.c:1574:11: warning: 'returnval' may be used uninitialized in this function [-Wmaybe-uninitialized] return (returnval); ^ rt_str.c: In function 'DrawIString': rt_str.c:1632:32: warning: 'returnval' may be used uninitialized in this function [-Wmaybe-uninitialized] fontcolor = GetColor (temp); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ rt_str.c:1620:32: warning: 'returnval' may be used uninitialized in this function [-Wmaybe-uninitialized] oldfontcolor = fontcolor; ~~~~~~~~~~~~~^~~~~~~~~~~ cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o watcom.o watcom.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o z_zone.o z_zone.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o byteordr.o byteordr.c rt_playr.c: In function 'GunAttack': rt_playr.c:1478:4: warning: 'damage' may be used uninitialized in this function [-Wmaybe-uninitialized] RayShoot (ob, damage, (characters[pstate->player].accuracy+gamestate.difficulty)<<3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_actor.c: In function 'ActorMovement': rt_actor.c:7478:19: warning: 'friction' may be used uninitialized in this function [-Wmaybe-uninitialized] {ob->momentumx = FixedMul (ob->momentumx, friction); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_actor.c:7449:9: warning: 'tryz' may be used uninitialized in this function [-Wmaybe-uninitialized] ActorTryMove(ob,ob->x+ride->momentumx,ob->y+ride->momentumy,tryz) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_ted.c: In function 'SetupTeams': rt_ted.c:2319:7: warning: 'spawnindex' may be used uninitialized in this function [-Wmaybe-uninitialized] newy = SPAWNLOC[spawnlocindex].y; \ ^ rt_ted.c:2397:24: note: 'spawnindex' was declared here maxdist,currdist,spawnindex,cnt; ^~~~~~~~~~ rt_ted.c:2337:6: warning: 'dir' may be used uninitialized in this function [-Wmaybe-uninitialized] SpawnPlayerobj(ntilex,ntiley,dir,j); \ ^~~~~~~~~~~~~~ rt_ted.c:2396:36: note: 'dir' was declared here int i,j,rand,sx,sy,ntilex,ntiley,dir, ^~~ rt_actor.c: In function 'A_DmonkAttack': rt_actor.c:10416:12: warning: 'nobclass' may be used uninitialized in this function [-Wmaybe-uninitialized] {int angle,nobclass,nspeed,altangle1=0,altangle2=0,zoff=0,sound; ^~~~~~~~ rt_actor.c:10499:2: warning: 'nstate' may be used uninitialized in this function [-Wmaybe-uninitialized] SpawnMissile(ob,nobclass,nspeed,angle,nstate,0xb000); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_ted.c: In function 'SetupRandomActors': rt_ted.c:5962:5: warning: 'tile' may be used uninitialized in this function [-Wmaybe-uninitialized] SpawnStand(randomtype,i,j,tile-122,ambush); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_ted.c: In function 'RaiseSprites': rt_ted.c:6941:13: warning: 'd' may be used uninitialized in this function [-Wmaybe-uninitialized] if (d==1) ^ rt_actor.c: In function 'T_Projectile': rt_actor.c:4892:29: warning: 'pstate' may be used uninitialized in this function [-Wmaybe-uninitialized] (!pstate->buttonstate[bt_attack]) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ rt_actor.c: In function 'HoleStatus': rt_actor.c:8280:7: warning: 'invisible' may be used uninitialized in this function [-Wmaybe-uninitialized] if (invisible) //leave present room ^ rt_actor.c: In function 'T_OrobotChase': rt_actor.c:8979:14: warning: 'inrange' may be used uninitialized in this function [-Wmaybe-uninitialized] int inrange; ^~~~~~~ rt_actor.c: In function 'A_MissileWeapon': rt_actor.c:11908:2: warning: 'nstate' may be used uninitialized in this function [-Wmaybe-uninitialized] SpawnMissile(ob,nobclass,nspeed,AngleBetween(ob,PLAYER[0]),nstate,noffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_actor.c:11908:2: warning: 'nobclass' may be used uninitialized in this function [-Wmaybe-uninitialized] rt_actor.c:11918:16: warning: 'oldyzangle' may be used uninitialized in this function [-Wmaybe-uninitialized] ob->yzangle = oldyzangle; ~~~~~~~~~~~~^~~~~~~~~~~~ cc cin_actr.o cin_efct.o cin_evnt.o cin_glob.o cin_main.o cin_util.o dosutil.o engine.o fx_man.o isr.o modexlib.o rt_actor.o rt_battl.o rt_build.o rt_cfg.o rt_crc.o rt_com.o rt_debug.o rt_dmand.o rt_door.o rt_draw.o rt_floor.o rt_game.o rt_in.o rt_main.o rt_map.o rt_menu.o rt_msg.o rt_net.o rt_playr.o rt_rand.o rt_scale.o rt_sound.o rt_spbal.o rt_sqrt.o rt_stat.o rt_state.o rt_str.o rt_swift.o rt_ted.o rt_util.o rt_view.o rt_vid.o rt_err.o scriplib.o w_wad.o watcom.o z_zone.o byteordr.o -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread -lSDL_mixer -Wl,-E -o rott gmake[2]: Leaving directory '/construction/games/rottdc/rottdc-1.0-2/rott' gmake -C rott-sw gmake[2]: Entering directory '/construction/games/rottdc/rottdc-1.0-2/rott-sw' cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o cin_actr.o cin_actr.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o cin_efct.o cin_efct.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o cin_evnt.o cin_evnt.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o cin_glob.o cin_glob.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o cin_main.o cin_main.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o cin_util.o cin_util.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o dosutil.o dosutil.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o engine.o engine.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o fx_man.o fx_man.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o isr.o isr.c cin_efct.c: In function 'DrawCinematicBackground': cin_efct.c:369:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buf=(byte *)bufferofs+ylookup[back->yoffset]; ^ cin_efct.c: In function 'DrawCinematicMultiBackground': cin_efct.c:421:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buf=(byte *)bufferofs+ylookup[back->yoffset]; ^ cin_efct.c: In function 'DrawCinematicBackdrop': cin_efct.c:475:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buf=(byte *)bufferofs; ^ cin_efct.c: In function 'DrawCinematicSprite': cin_efct.c:547:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buf=(byte *)bufferofs; ^ cin_efct.c: In function 'DrawClearBuffer': cin_efct.c:692:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] memset((byte *)bufferofs,0,MAXSCREENWIDTH*MAXSCREENHEIGHT); ^ cin_efct.c: In function 'ProfileDisplay': cin_efct.c:897:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buf=(byte *)bufferofs; ^ cin_efct.c: In function 'DrawPostPic': cin_efct.c:938:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buf=(byte *)bufferofs; ^ cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o modexlib.o modexlib.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_actor.o rt_actor.c fx_man.c: In function 'MUSIC_Continue': fx_man.c:1164:24: warning: pointer targets in passing argument 1 of 'MUSIC_PlaySong' differ in signedness [-Wpointer-sign] MUSIC_PlaySong(music_songdata, MUSIC_PlayOnce); ^~~~~~~~~~~~~~ In file included from fx_man.c:29: music.h:78:7: note: expected 'unsigned char *' but argument is of type 'char *' int MUSIC_PlaySong( unsigned char *song, int loopflag ); ^~~~~~~~~~~~~~ fx_man.c: In function 'MUSIC_PlaySong': fx_man.c:1200:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] music_songdata = song; ^ fx_man.c: In function 'MUSIC_PlaySongROTT': fx_man.c:1234:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] music_songdata = song; ^ cin_evnt.c: In function 'ParseBack': cin_evnt.c:338:23: warning: 'width' may be used uninitialized in this function [-Wmaybe-uninitialized] event->effect = SpawnCinematicBack ( name, duration, width, startx, endx, yoffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ modexlib.c: In function 'VL_SetVGAPlaneMode': modexlib.c:509:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] page1start=(int)sdl_surface->pixels; ^ modexlib.c:510:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] page2start=(int)sdl_surface->pixels; ^ modexlib.c:511:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] page3start=(int)sdl_surface->pixels; ^ modexlib.c: In function 'VL_ClearBuffer': modexlib.c:620:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] memset((byte *)buf,color,screensize); ^ rt_actor.c: In function 'FindAddresses': rt_actor.c:1004:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] tstate = (unsigned)(statetable[i]); ^ rt_actor.c:1012:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] tfunct = (unsigned)(statetable[i]->think); ^ cin_evnt.c: In function 'ParseFlic': cin_evnt.c:394:12: warning: 'loop' may be used uninitialized in this function [-Wmaybe-uninitialized] boolean loop; ^~~~ cin_evnt.c:395:12: warning: 'usefile' may be used uninitialized in this function [-Wmaybe-uninitialized] boolean usefile; ^~~~~~~ cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_battl.o rt_battl.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_build.o rt_build.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_cfg.o rt_cfg.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_crc.o rt_crc.c rt_build.c: In function 'DrawPlanePosts': rt_build.c:252:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buf=(byte *)(bufferofs); ^ rt_build.c:252:10: warning: pointer targets in assignment from 'byte *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] buf=(byte *)(bufferofs); ^ rt_build.c:271:53: warning: pointer targets in passing argument 3 of 'DrawRotPost' differ in signedness [-Wpointer-sign] DrawRotPost (height,shape+posts[i].texture,buf,posts[i].offset); ^~~ rt_build.c:89:6: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' void DrawRotPost ( int height, byte * src, byte * buf, int origheight) ^~~~~~~~~~~ rt_cfg.c: In function 'CheckVendor': rt_cfg.c:1064:28: warning: passing argument 1 of 'W_GetNumForName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] lump=W_GetNumForName(VENDORLUMP); ^~~~~~~~~~ In file included from rt_cfg.c:61: w_wad.h:35:32: note: expected 'char *' but argument is of type 'const char *' int W_GetNumForName (char *name); // Get the number for the named lump ~~~~~~^~~~ rt_cfg.c:1076:28: warning: passing argument 1 of 'W_GetNumForName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] lump=W_GetNumForName(VENDORLUMP); ^~~~~~~~~~ In file included from rt_cfg.c:61: w_wad.h:35:32: note: expected 'char *' but argument is of type 'const char *' int W_GetNumForName (char *name); // Get the number for the named lump ~~~~~~^~~~ cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_com.o rt_com.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_debug.o rt_debug.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_dmand.o rt_dmand.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_door.o rt_door.c rt_com.c: In function 'ReadPacket': rt_com.c:241:25: warning: pointer targets in passing argument 1 of 'CalculateCRC' differ in signedness [-Wpointer-sign] crc=CalculateCRC (&rottcom->data[0], rottcom->datalength-sizeof(word)); ^~~~~~~~~~~~~~~~~ In file included from rt_com.c:39: rt_crc.h:23:6: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' word CalculateCRC (byte *source, unsigned size); ^~~~~~~~~~~~ rt_actor.c: In function 'CheckBounds': rt_actor.c:1026:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] tstate = (unsigned)(ob->state); ^ rt_actor.c:1027:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] tfunct = (unsigned)(ob->state->think); ^ rt_actor.c: In function 'T_Count': rt_actor.c:2175:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] tempactor = (objtype*)(temp->whichobj); ^ rt_dmand.c: In function 'SD_UpdatePlaybackSound': rt_dmand.c:89:8: warning: pointer targets in assignment from 'byte *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] *ptr=&PlaybackBuffer[PlayingPointer]; ^ rt_door.c: In function 'SaveTouchPlates': rt_door.c:402:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] tstat = (statobj_t*)(temp->whichobj); ^ rt_door.c:411:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] tactor = (objtype*)(temp->whichobj); ^ rt_build.c:271:10: warning: 'shape' may be used uninitialized in this function [-Wmaybe-uninitialized] DrawRotPost (height,shape+posts[i].texture,buf,posts[i].offset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_door.c: In function 'LoadTouchPlates': rt_door.c:489:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] temp->whichobj = (int)(objlist[dummy.whichobj & ~FL_TACT]); ^ rt_door.c:492:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] temp->whichobj = (int)(GetStatForIndex(dummy.whichobj & ~FL_TSTAT)); ^ rt_door.c: In function 'DisplayMessageForAction': rt_door.c:713:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] objtype *tempactor = (objtype*)(temp->whichobj); ^ rt_door.c: In function 'SpawnDoor': rt_door.c:1234:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else rt=0; ^~~~ rt_door.c:1236:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' if ((up==1) && (dn==1)) ^~ rt_door.c: In function 'SpawnMaskedWall': rt_door.c:2141:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else rt=0; ^~~~ rt_door.c:2143:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' if ((up==1) && (dn==1)) ^~ cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_draw.o rt_draw.c rt_door.c: In function 'SpawnPushWall': rt_door.c:3347:8: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] if (!texture&0x1000) ^~~~~~~~ rt_build.c: In function 'DrawTransformedPlanes': rt_build.c:403:27: warning: 'closest' may be used uninitialized in this function [-Wmaybe-uninitialized] closest->viewheight = 0; ~~~~~~~~~~~~~~~~~~~~^~~ rt_door.c: In function 'UseDoor': rt_door.c:1880:3: warning: this statement may fall through [-Wimplicit-fallthrough=] SD_StopSound(doorobjlist[door]->soundhandle); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_door.c:1881:2: note: here case dr_closed: ^~~~ rt_door.c:1885:3: warning: this statement may fall through [-Wimplicit-fallthrough=] SD_StopSound(doorobjlist[door]->soundhandle); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_door.c:1886:2: note: here case dr_open: ^~~~ cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_floor.o rt_floor.c rt_draw.c: In function 'DrawWalls': rt_draw.c:1938:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buf=(byte *)(bufferofs); ^ rt_draw.c:1938:13: warning: pointer targets in assignment from 'byte *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] buf=(byte *)(bufferofs); ^ rt_draw.c:1946:31: warning: pointer targets in passing argument 2 of 'DrawWallPost' differ in signedness [-Wpointer-sign] DrawWallPost(post,buf); ^~~ rt_draw.c:1807:6: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' void DrawWallPost ( wallcast_t * post, byte * buf) ^~~~~~~~~~~~ rt_draw.c:1948:34: warning: pointer targets in passing argument 2 of 'DrawWallPost' differ in signedness [-Wpointer-sign] DrawWallPost(post,buf+1); ~~~^~ rt_draw.c:1807:6: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' void DrawWallPost ( wallcast_t * post, byte * buf) ^~~~~~~~~~~~ rt_draw.c:1962:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buf=(byte *)(bufferofs); ^ rt_draw.c:1962:13: warning: pointer targets in assignment from 'byte *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] buf=(byte *)(bufferofs); ^ rt_draw.c:1970:31: warning: pointer targets in passing argument 2 of 'DrawWallPost' differ in signedness [-Wpointer-sign] DrawWallPost(post,buf); ^~~ rt_draw.c:1807:6: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' void DrawWallPost ( wallcast_t * post, byte * buf) ^~~~~~~~~~~~ rt_draw.c: In function 'InterpolateWall': rt_draw.c:2403:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buf=(byte *)bufferofs; ^ rt_draw.c: In function 'InterpolateDoor': rt_draw.c:2485:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buf=(byte *)bufferofs+(plane->x1); ^ rt_draw.c: In function 'InterpolateMaskedWall': rt_draw.c:2629:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buf=(byte *)bufferofs+(plane->x1); ^ rt_draw.c: In function 'DrawPlayerLocation': rt_draw.c:2694:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] memset((byte *)bufferofs+(ylookup[i+PLY])+PLX,0,6); ^ rt_draw.c: In function 'DrawScaledScreen': rt_draw.c:2969:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buf=(byte *)bufferofs+ylookup[j]+x; ^ rt_draw.c: In function 'DoLoadGameSequence': rt_draw.c:3030:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] VL_CopyPlanarPageToMemory ( (byte *)bufferofs, destscreen ); ^ rt_draw.c: In function 'StartupRotateBuffer': rt_draw.c:3085:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] *(RotatedImage+99+((a+28)<<9)+b)=*((byte *)bufferofs+(a*linewidth)+b); ^ rt_draw.c: In function 'ScaleAndRotateBuffer': rt_draw.c:3129:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DrawRotatedScreen(160,100, (byte *)bufferofs,(angle>>16)&(FINEANGLES-1),scale>>6,0); ^ rt_draw.c:3135:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DrawRotatedScreen(160,100, (byte *)bufferofs,endangle&(FINEANGLES-1),endscale,0); ^ rt_draw.c:3137:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DrawRotatedScreen(160,100, (byte *)bufferofs,endangle&(FINEANGLES-1),endscale,0); ^ rt_draw.c:3139:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DrawRotatedScreen(160,100, (byte *)bufferofs,endangle&(FINEANGLES-1),endscale,0); ^ rt_draw.c: In function 'DrawScaledPost': rt_draw.c:3253:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ScaleMaskedPost(((p->collumnofs[offset])+src), (byte *)bufferofs+x); ^ rt_draw.c: In function 'ApogeeTitle': rt_draw.c:3308:45: warning: left shift of negative value [-Wshift-negative-value] dscale=((APOGEESCALEEND-APOGEESCALESTART)<<16)/time; ^~ rt_draw.c:3325:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DrawRotatedScreen(x,y>>16,(byte *)bufferofs,(angle>>16)&(FINEANGLES-1),scale>>16,1); ^ rt_draw.c:3339:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DrawRotatedScreen(x,y>>16,(byte *)bufferofs,0,APOGEESCALEEND,1); ^ rt_draw.c: In function 'RotationFun': rt_draw.c:3421:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DrawRotatedScreen(160,100,(byte *)bufferofs,angle,scale,0); ^ rt_draw.c: In function 'UpdateScreenSaver': rt_draw.c:3576:53: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DrawRotatedScreen(ScreenSaver->x,ScreenSaver->y, (byte *)bufferofs,ScreenSaver->angle,ScreenSaver->scale,0); ^ rt_draw.c: In function 'DrawBackground': rt_draw.c:3971:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] memcpy((byte *)bufferofs,bkgnd,size); ^ rt_draw.c: In function 'PrepareBackground': rt_draw.c:3995:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] memcpy(bkgnd,(byte *)bufferofs,size); ^ rt_draw.c: In function 'DoEndCinematic': rt_draw.c:4275:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] *((byte *)bufferofs+ylookup[y]+x)=*tmp++; ^ rt_draw.c:4288:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] *((byte *)bufferofs+ylookup[y]+x)=*tmp++; ^ rt_draw.c:4355:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] *((byte *)bufferofs+ylookup[y]+x)=*tmp++; ^ rt_draw.c:4368:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] *((byte *)bufferofs+ylookup[y]+x)=*tmp++; ^ rt_floor.c: In function 'DrawSky': rt_floor.c:167:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DrawSkyPost((byte *)bufferofs + dest,src,height); ^ rt_floor.c: In function 'DrawFullSky': rt_floor.c:226:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DrawSkyPost((byte *)bufferofs + dest,src,viewheight); ^ rt_floor.c: In function 'DrawHLine': rt_floor.c:576:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] dest=(byte *)bufferofs+ylookup[yp]; ^ rt_actor.c: In function 'DamageStaticObject': rt_actor.c:10657:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (tplate->whichobj == (int)(tempstat)) ^ rt_actor.c: In function 'ExplodeStatic': rt_actor.c:10873:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] tempstat->linked_to = (int)(LASTSTAT); ^ rt_actor.c: In function 'EnableObject': rt_actor.c:10900:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ob = (objtype*)object; ^ rt_actor.c: In function 'DisableObject': rt_actor.c:10948:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ob = (objtype*)object; ^ rt_door.c: In function 'LoadMaskedWalls': rt_door.c:4205:6: warning: 'memcpy' forming offset 2 is out of the bounds [0, 1] of object 'flags' with type 'byte' {aka 'unsigned char'} [-Warray-bounds] memcpy(&flags,bufptr,size); ^~~~~~~~~~~~~~~~~~~~~~~~~~ rt_door.c:4201:11: note: 'flags' declared here byte flags; ^~~~~ cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_game.o rt_game.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_in.o rt_in.c rt_floor.c: In function 'GetFloorCeilingLump': rt_floor.c:352:11: warning: 'lump' may be used uninitialized in this function [-Wmaybe-uninitialized] return lump; ^~~~ cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_main.o rt_main.c rt_floor.c: In function 'SetPlaneViewSize': rt_floor.c:482:10: warning: 'skybottom' may be used uninitialized in this function [-Wmaybe-uninitialized] W_CacheLumpNum(skybottom,PU_CACHE, CvtNull, 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_floor.c:481:10: warning: 'skytop' may be used uninitialized in this function [-Wmaybe-uninitialized] W_CacheLumpNum(skytop,PU_CACHE, CvtNull, 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_game.c: In function 'V_ReDrawBkgnd': rt_game.c:189:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] origdest = (byte *)(bufferofs+ylookup[y]+x); ^ cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_map.o rt_map.c rt_main.c: In function 'DrawRottTitle': rt_main.c:475:20: warning: pointer targets in passing argument 1 of 'UL_printf' differ in signedness [-Wpointer-sign] UL_printf(title); ^~~~~ In file included from rt_main.c:56: rt_util.h:89:7: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' void UL_printf (byte *str); ^~~~~~~~~ rt_main.c:499:20: warning: pointer targets in passing argument 1 of 'UL_printf' differ in signedness [-Wpointer-sign] UL_printf(title); ^~~~~ In file included from rt_main.c:56: rt_util.h:89:7: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' void UL_printf (byte *str); ^~~~~~~~~ rt_main.c:517:20: warning: pointer targets in passing argument 1 of 'UL_printf' differ in signedness [-Wpointer-sign] UL_printf(title); ^~~~~ In file included from rt_main.c:56: rt_util.h:89:7: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' void UL_printf (byte *str); ^~~~~~~~~ rt_main.c: In function 'GameLoop': rt_main.c:985:30: warning: pointer targets in passing argument 1 of 'SetPalette' differ in signedness [-Wpointer-sign] SetPalette(&dimpal[0]); ^~~~~~~~~~ In file included from rt_main.c:56: rt_util.h:81:7: note: expected 'char *' but argument is of type 'byte *' {aka 'unsigned char *'} void SetPalette ( char * pal ); ^~~~~~~~~~ rt_main.c: In function 'SaveScreen': rt_main.c:2932:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] screen = (byte *) bufferofs; ^ rt_main.c:2934:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] screen = (byte *) displayofs; ^ rt_main.c: In function 'WritePCX': rt_main.c:3019:4: warning: 'memset' used with constant zero length parameter; this could be due to transposed parameters [-Wmemset-transposed-args] memset (&pcxHDR, sizeof(PCX_HEADER), 0); ^~~~~~ rt_main.c:3052:4: warning: 'memset' used with constant zero length parameter; this could be due to transposed parameters [-Wmemset-transposed-args] memset (buffer1, GAP_SIZE, 0); ^~~~~~ rt_in.c: In function 'IN_GetMouseButtons': rt_in.c:670:4: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static int tbl[] = {SDL_BUTTON_LEFT,SDL_BUTTON_RIGHT,SDL_BUTTON_MIDDLE,SDL_BUTTON_WHEELUP,SDL_BUTTON_WHEELDOWN}; ^~~~~ rt_in.c:678:11: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for(i=0;i'} and 'enum ' [-Wenum-compare] while( ci.dir == (dirtype)key ); ^~ _rt_menu.h:221:41: note: (near initialization for 'ExtScanNames[17]') _rt_menu.h:221:47: warning: pointer targets in initialization of 'byte *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] "F5","F6","F7","F8","F9","F10","F11","F12","SclLk","Enter","Shift", ^~~~~~~ _rt_menu.h:221:47: note: (near initialization for 'ExtScanNames[18]') _rt_menu.h:221:55: warning: pointer targets in initialization of 'byte *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] "F5","F6","F7","F8","F9","F10","F11","F12","SclLk","Enter","Shift", ^~~~~~~ _rt_menu.h:221:55: note: (near initialization for 'ExtScanNames[19]') _rt_menu.h:221:63: warning: pointer targets in initialization of 'byte *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] "F5","F6","F7","F8","F9","F10","F11","F12","SclLk","Enter","Shift", ^~~~~~~ _rt_menu.h:221:63: note: (near initialization for 'ExtScanNames[20]') _rt_menu.h:222:4: warning: pointer targets in initialization of 'byte *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] "PrtSc","Alt","Home","PgUp","End","PgDn","Ins","Del","NumLk","Up", ^~~~~~~ _rt_menu.h:222:4: note: (near initialization for 'ExtScanNames[21]') _rt_menu.h:222:12: warning: pointer targets in initialization of 'byte *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] "PrtSc","Alt","Home","PgUp","End","PgDn","Ins","Del","NumLk","Up", ^~~~~ _rt_menu.h:222:12: note: (near initialization for 'ExtScanNames[22]') _rt_menu.h:222:18: warning: pointer targets in initialization of 'byte *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] "PrtSc","Alt","Home","PgUp","End","PgDn","Ins","Del","NumLk","Up", ^~~~~~ _rt_menu.h:222:18: note: (near initialization for 'ExtScanNames[23]') _rt_menu.h:222:25: warning: pointer targets in initialization of 'byte *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] "PrtSc","Alt","Home","PgUp","End","PgDn","Ins","Del","NumLk","Up", ^~~~~~ _rt_menu.h:222:25: note: (near initialization for 'ExtScanNames[24]') _rt_menu.h:222:32: warning: pointer targets in initialization of 'byte *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] "PrtSc","Alt","Home","PgUp","End","PgDn","Ins","Del","NumLk","Up", ^~~~~ _rt_menu.h:222:32: note: (near initialization for 'ExtScanNames[25]') _rt_menu.h:222:38: warning: pointer targets in initialization of 'byte *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] "PrtSc","Alt","Home","PgUp","End","PgDn","Ins","Del","NumLk","Up", ^~~~~~ _rt_menu.h:222:38: note: (near initialization for 'ExtScanNames[26]') _rt_menu.h:222:45: warning: pointer targets in initialization of 'byte *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] "PrtSc","Alt","Home","PgUp","End","PgDn","Ins","Del","NumLk","Up", ^~~~~ _rt_menu.h:222:45: note: (near initialization for 'ExtScanNames[27]') _rt_menu.h:222:51: warning: pointer targets in initialization of 'byte *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] "PrtSc","Alt","Home","PgUp","End","PgDn","Ins","Del","NumLk","Up", ^~~~~ _rt_menu.h:222:51: note: (near initialization for 'ExtScanNames[28]') _rt_menu.h:222:57: warning: pointer targets in initialization of 'byte *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] "PrtSc","Alt","Home","PgUp","End","PgDn","Ins","Del","NumLk","Up", ^~~~~~~ _rt_menu.h:222:57: note: (near initialization for 'ExtScanNames[29]') _rt_menu.h:222:65: warning: pointer targets in initialization of 'byte *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] "PrtSc","Alt","Home","PgUp","End","PgDn","Ins","Del","NumLk","Up", ^~~~ _rt_menu.h:222:65: note: (near initialization for 'ExtScanNames[30]') In file included from /usr/local/include/SDL/SDL_events.h:35, from /usr/local/include/SDL/SDL.h:37, from rt_in.c:31: rt_in.c:679:29: warning: iteration 5 invokes undefined behavior [-Waggressive-loop-optimizations] if (bmask & SDL_BUTTON(tbl[i])) buttons|=1<basetexture = basetexture; ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ rt_draw.c: In function 'DrawWallPost': rt_draw.c:1909:17: warning: 'src' may be used uninitialized in this function [-Wmaybe-uninitialized] dc_source=src+((post->texture>>4)&0xfc0); ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_actor.c: In function 'DamageStaticObject': rt_actor.c:10708:56: warning: this statement may fall through [-Wimplicit-fallthrough=] MISCVARS->ETOUCH[tempstat->linked_to].x = MISCVARS->ETOUCH[tempstat->linked_to].y = 0; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_actor.c:10709:13: note: here case stat_tntcrate: ^~~~ cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_net.o rt_net.c rt_draw.c: In function 'InterpolateMaskedWall': rt_draw.c:2656:50: warning: 'p3' may be used uninitialized in this function [-Wmaybe-uninitialized] ScaleMaskedPost (p3->collumnofs[texture]+shape3,buf); ~~~~~~~~~~~~~~^~~~~~~~~ rt_draw.c:2656:19: warning: 'shape3' may be used uninitialized in this function [-Wmaybe-uninitialized] ScaleMaskedPost (p3->collumnofs[texture]+shape3,buf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_draw.c:2637:50: warning: 'topoffset' may be used uninitialized in this function [-Wmaybe-uninitialized] dc_texturemid=((pheight-nominalheight+topoffset)<>1); ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ rt_draw.c:2649:50: warning: 'p2' may be used uninitialized in this function [-Wmaybe-uninitialized] ScaleMaskedPost (p2->collumnofs[texture]+shape2,buf); ~~~~~~~~~~~~~~^~~~~~~~~ rt_draw.c:2649:19: warning: 'shape2' may be used uninitialized in this function [-Wmaybe-uninitialized] ScaleMaskedPost (p2->collumnofs[texture]+shape2,buf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_map.c: In function 'DoMap': rt_map.c:1038:19: warning: 'quitkey' may be used uninitialized in this function [-Wmaybe-uninitialized] while (Keyboard[quitkey]) ~~~~~~~~^~~~~~~~~ rt_door.c: In function 'SpawnMaskedWall': rt_door.c:2526:13: warning: 'metal' may be used uninitialized in this function [-Wmaybe-uninitialized] if (metal==true) ^ rt_door.c:2552:30: warning: 'bottom' may be used uninitialized in this function [-Wmaybe-uninitialized] lastmaskobj->bottomtexture=bottom; ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ rt_door.c:2551:27: warning: 'above' may be used uninitialized in this function [-Wmaybe-uninitialized] lastmaskobj->toptexture=above; ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ rt_door.c:2550:27: warning: 'middle' may be used uninitialized in this function [-Wmaybe-uninitialized] lastmaskobj->midtexture=middle; ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ rt_door.c:2556:27: warning: 'side' may be used uninitialized in this function [-Wmaybe-uninitialized] lastmaskobj->sidepic=side; ~~~~~~~~~~~~~~~~~~~~^~~~~ rt_game.c: In function 'DrawNumber': rt_game.c:1037:11: warning: 'str' may be used uninitialized in this function [-Wmaybe-uninitialized] char *str; ^~~ rt_game.c:1036:13: warning: 'length' may be used uninitialized in this function [-Wmaybe-uninitialized] unsigned length,c; ^~~~~~ cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_playr.o rt_playr.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_rand.o rt_rand.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_scale.o rt_scale.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_sound.o rt_sound.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_spbal.o rt_spbal.c rt_scale.c: In function 'ScaleShape': rt_scale.c:535:72: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ScaleMaskedWidePost(((p->collumnofs[lastcolumn])+shape),(byte *)bufferofs,startx,width); ^ rt_scale.c:551:72: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ScaleMaskedWidePost(((p->collumnofs[lastcolumn])+shape),(byte *)bufferofs,startx,width); ^ rt_scale.c:564:66: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ScaleMaskedWidePost(((p->collumnofs[lastcolumn])+shape),(byte *)bufferofs,startx,width); ^ rt_scale.c:594:80: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ScaleMaskedWidePost(((p->collumnofs[frac>>SFRACBITS])+shape),(byte *)bufferofs,x1,1); ^ rt_scale.c:596:80: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ScaleMaskedWidePost(((p->collumnofs[frac>>SFRACBITS])+shape),(byte *)bufferofs,x1,2); ^ rt_scale.c:612:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] b=(byte *)bufferofs+startx; ^ rt_scale.c: In function 'ScaleTransparentShape': rt_scale.c:714:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] b=(byte *)bufferofs+startx; ^ rt_scale.c: In function 'ScaleSolidShape': rt_scale.c:802:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] b=(byte *)bufferofs+startx; ^ rt_scale.c: In function 'ScaleWeapon': rt_scale.c:891:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] b=(byte *)bufferofs+startx; ^ rt_scale.c: In function 'DrawUnScaledSprite': rt_scale.c:979:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] b=(byte *)bufferofs+startx; ^ rt_scale.c: In function 'DrawPositionedScaledSprite': rt_scale.c:1087:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] b=(byte *)bufferofs+startx; ^ rt_scale.c: In function 'DrawScreenSizedSprite': rt_scale.c:1163:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] b=(byte *)bufferofs; ^ rt_scale.c: In function 'DrawNormalSprite': rt_scale.c:1307:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buffer = (byte*)bufferofs+ylookup[y-p->topoffset]; ^ cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_sqrt.o rt_sqrt.c rt_sound.c: In function 'SD_PlayIt': rt_sound.c:396:34: warning: pointer targets in passing argument 1 of 'FX_PlayVOC3D_ROTT' differ in signedness [-Wpointer-sign] voice = FX_PlayVOC3D_ROTT( snd, W_LumpLength(SoundNumber(sndnum)), ^~~ In file included from rt_sound.c:23: fx_man.h:136:5: note: expected 'char *' but argument is of type 'byte *' {aka 'unsigned char *'} int FX_PlayVOC3D_ROTT( char *ptr, int size, int pitchoffset, int angle, int distance, ^~~~~~~~~~~~~~~~~ rt_sound.c:402:34: warning: pointer targets in passing argument 1 of 'FX_PlayWAV3D_ROTT' differ in signedness [-Wpointer-sign] voice = FX_PlayWAV3D_ROTT( snd, W_LumpLength(SoundNumber(sndnum)), ^~~ In file included from rt_sound.c:23: fx_man.h:138:5: note: expected 'char *' but argument is of type 'byte *' {aka 'unsigned char *'} int FX_PlayWAV3D_ROTT( char *ptr, int size, int pitchoffset, int angle, int distance, ^~~~~~~~~~~~~~~~~ cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_stat.o rt_stat.c rt_menu.c: In function 'DrawNewGameDiff': rt_menu.c:4309:4: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] DrawMenuBufPic( 25, newgameY[ w ], W_GetNumForName( "NEWG1" ) + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ( ToughMenuNum * 4 ) + x ); ~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_stat.c: In function 'ActivateLight': rt_stat.c:403:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] tstat = (statobj_t*)light; ^ rt_stat.c: In function 'DeactivateLight': rt_stat.c:415:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] tstat = (statobj_t*)light; ^ rt_stat.c: In function 'SpawnStatic': rt_stat.c:1236:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else if (zoffset!=-1) ^~~~ rt_stat.c:1253:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' temp->visspot = &spotvis[tilex][tiley]; ^~~~ rt_stat.c: In function 'CheckCriticalStatics': rt_stat.c:1790:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] RemoveStatic((statobj_t*)(rtemp->linked_to)); ^ rt_net.c: In function 'GetPacketSize': rt_net.c:1090:11: warning: 'size' may be used uninitialized in this function [-Wmaybe-uninitialized] return size; ^~~~ cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_state.o rt_state.c rt_game.c: In function 'DrawPlayScreen': rt_game.c:489:7: warning: array subscript 5 is above array bounds of 'char *[5]' [-Warray-bounds] DrawGameString ( MEN_X + 44 - width, MEN_Y + 8, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Names[ character + 5 ], bufferofsonly ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_game.c:549:26: warning: 'shapenum' may be used uninitialized in this function [-Wmaybe-uninitialized] shape = ( pic_t * )W_CacheLumpNum( shapenum, PU_CACHE, Cvt_pic_t, 1 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_game.c: In function 'GM_UpdateBonus': rt_game.c:2436:29: warning: 'shapenum' may be used uninitialized in this function [-Wmaybe-uninitialized] shape = ( pic_t * )W_CacheLumpNum( shapenum, PU_CACHE, Cvt_pic_t, 1 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_str.o rt_str.c rt_menu.c: In function 'CP_DisplayMsg': rt_menu.c:2953:10: warning: 'tri' may be used uninitialized in this function [-Wmaybe-uninitialized] DrawMenuBufPic( Q_X + 12, Q_Y + 11, tri ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_swift.o rt_swift.c In file included from rt_str.c:41: _rt_str.h:40:67: warning: cast between incompatible function types from 'void (*)(const char *, int *, int *)' to 'void (*)(const char *, int *, int *, font_t *)' {aka 'void (*)(const char *, int *, int *, struct *)'} [-Wcast-function-type] void (*USL_MeasureString)(const char *, int *, int *, font_t *) = (void (*)(const char *, int *, int *, font_t *))VW_MeasurePropString, ^ rt_str.c: In function 'VW_DrawClippedString': rt_str.c:116:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] *((byte *)(bufferofs+ylookup[y]+x)) = *source; ^ rt_str.c: In function 'VW_DrawPropString': rt_str.c:228:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] dest = origdest = (byte *)(bufferofs+ylookup[py]+px); ^ rt_str.c: In function 'VW_DrawIPropString': rt_str.c:298:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] dest = origdest = (byte *)(bufferofs+ylookup[py]+px); ^ rt_str.c: In function 'DrawIntensityChar': rt_str.c:1515:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] origdest = ( byte * )( bufferofs + ylookup[ py ] + px ); ^ cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_ted.o rt_ted.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_util.o rt_util.c rt_ted.c: In function 'CheckRTLVersion': rt_ted.c:1351:18: warning: pointer targets in passing argument 1 of 'SwapIntelLong' differ in signedness [-Wpointer-sign] SwapIntelLong(&RTLVersion); ^~~~~~~~~~~ In file included from rt_ted.c:43: rt_util.h:72:7: note: expected 'long int *' but argument is of type 'long unsigned int *' void SwapIntelLong (long *l); ^~~~~~~~~~~~~ rt_util.c: In function 'Error': rt_util.c:396:18: warning: pointer targets in passing argument 1 of 'UL_printf' differ in signedness [-Wpointer-sign] UL_printf (token); ^~~~~ In file included from rt_util.c:44: rt_util.h:89:7: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' void UL_printf (byte *str); ^~~~~~~~~ rt_util.c: In function 'SetPalette': rt_util.c:1320:19: warning: pointer targets in passing argument 1 of 'VL_SetPalette' differ in signedness [-Wpointer-sign] VL_SetPalette (pal); ^~~ In file included from rt_util.c:44: rt_util.h:87:7: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' void VL_SetPalette (byte *palette); ^~~~~~~~~~~~~ rt_game.c: In function 'LevelCompleted': rt_game.c:3493:31: warning: 'dobonus' may be used uninitialized in this function [-Wmaybe-uninitialized] else if ( ( kr == 100 ) && ( dobonus ) ) ^~ rt_game.c:3418:38: warning: 'sr' may be used uninitialized in this function [-Wmaybe-uninitialized] if ( ( gamestate.secrettotal ) && ( sr != 100 ) ) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ rt_ted.c: In function 'LinkActor': rt_ted.c:3588:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ClockLink(EnableObject,DisableObject,(int)ob,k); ^ rt_ted.c:3615:64: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] Link_To_Touchplate(touchx,touchy,swapaction,action,(int)ob,0); ^ rt_ted.c:3617:64: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] Link_To_Touchplate(touchx,touchy,action,swapaction,(int)ob,0); ^ rt_ted.c: In function 'SetupLights': rt_ted.c:4054:75: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] {Link_To_Touchplate(touchx,touchy,ActivateLight,DeactivateLight,(int)(sprites[i][j]),0); ^ rt_ted.c:4062:75: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] {Link_To_Touchplate(touchx,touchy,DeactivateLight,ActivateLight,(int)(sprites[i][j]),0); ^ rt_ted.c:4072:73: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] {Link_To_Touchplate(touchx,touchy,DeactivateLight,ActivateLight,(int)(sprites[i][j]),0); ^ cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_view.o rt_view.c rt_view.c: In function 'LoadColorMap': rt_view.c:450:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] colormap = (byte *)( ((int)colormap + 255)&~0xff); ^ rt_view.c:450:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] colormap = (byte *)( ((int)colormap + 255)&~0xff); ^ rt_view.c:464:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] redmap = (byte *)( ((int)redmap + 255)&~0xff); ^ rt_view.c:464:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] redmap = (byte *)( ((int)redmap + 255)&~0xff); ^ rt_view.c:477:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] playermaps[i] = (byte *)( ((int)playermaps[i] + 255)&~0xff); ^ rt_view.c:477:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] playermaps[i] = (byte *)( ((int)playermaps[i] + 255)&~0xff); ^ rt_str.c: In function 'US_LineInput': rt_str.c:1024:7: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!result) ^ rt_ted.c: In function 'PreCacheActor': rt_ted.c:649:10: warning: this statement may fall through [-Wimplicit-fallthrough=] end =W_GetNumForName("TOHRH8"); ^~~~~~~~~~~~~~~~~~~~~~~~~ rt_ted.c:650:3: note: here case b_robobossobj: ^~~~ rt_ted.c:690:10: warning: this statement may fall through [-Wimplicit-fallthrough=] end = W_GetNumForName("CREXP5"); ^~~~~~~~~~~~~~~~~~~~~~~~~ rt_ted.c:692:3: note: here case pillarobj: ^~~~ rt_actor.c: In function 'BloodDrip': rt_actor.c:3927:12: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] {int dx,dy,x,y,scale; ^ rt_actor.c:3927:14: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized] {int dx,dy,x,y,scale; ^ rt_ted.c: In function 'SetupActors': rt_playr.c: In function 'GunAttack': rt_playr.c:1478:4: warning: 'damage' may be used uninitialized in this function [-Wmaybe-uninitialized] RayShoot (ob, damage, (characters[pstate->player].accuracy+gamestate.difficulty)<<3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_ted.c:6002:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6004:5: note: here case 108: ^~~~ rt_ted.c:6020:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6022:5: note: here case 112: ^~~~ rt_ted.c:6035:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6037:5: note: here case 116: ^~~~ rt_ted.c:6047:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6049:5: note: here case 120: ^~~~ rt_ted.c:6059:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6061:5: note: here case 144: ^~~~ rt_ted.c:6074:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6076:5: note: here case 152: ^~~~ rt_ted.c:6091:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6093:5: note: here case 148: ^~~~ rt_ted.c:6106:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6108:5: note: here case 158: ^~~~ rt_ted.c:6121:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6123:5: note: here case 194: ^~~~ rt_ted.c:6136:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6138:5: note: here case 180: ^~~~ rt_ted.c:6151:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6153:5: note: here case 188: ^~~~ rt_ted.c:6166:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6168:5: note: here case 184: ^~~~ rt_ted.c:6181:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6183:5: note: here case 216: ^~~~ rt_ted.c:6196:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6198:5: note: here case 224: ^~~~ rt_ted.c:6211:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6213:5: note: here case 220: ^~~~ rt_ted.c:6225:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6227:5: note: here case 288: ^~~~ rt_ted.c:6240:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6242:5: note: here case 296: ^~~~ rt_ted.c:6255:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6257:5: note: here case 292: ^~~~ rt_ted.c:6270:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6272:5: note: here case 324: ^~~~ rt_ted.c:6285:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6287:5: note: here case 332: ^~~~ rt_ted.c:6300:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6301:5: note: here case 328: ^~~~ rt_ted.c:6314:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6316:5: note: here case 360: ^~~~ rt_ted.c:6329:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6331:5: note: here case 368: ^~~~ rt_ted.c:6344:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6346:5: note: here case 364: ^~~~ rt_ted.c:6359:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6361:5: note: here case 396: ^~~~ rt_ted.c:6376:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6379:5: note: here case 404: ^~~~ rt_ted.c:6392:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6394:5: note: here case 400: ^~~~ rt_ted.c:6426:11: warning: this statement may fall through [-Wimplicit-fallthrough=] tile -= 18; ~~~~~^~~~~ rt_ted.c:6428:5: note: here case 408: ^~~~ rt_stat.c:1806:5: warning: 'stype' may be used uninitialized in this function [-Wmaybe-uninitialized] SpawnStatic(stilex,stiley,stype,-1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_str.c: In function 'US_lineinput': rt_str.c:1333:11: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] return (result); ^ rt_view.c: In function 'SetupLightLevels': rt_view.c:530:4: warning: 'glevel' may be used uninitialized in this function [-Wmaybe-uninitialized] SetLightLevels ( glevel ); ^~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_vid.o rt_vid.c rt_str.c: In function 'GetColor': rt_str.c:1574:11: warning: 'returnval' may be used uninitialized in this function [-Wmaybe-uninitialized] return (returnval); ^ rt_vid.c: In function 'VL_MemToScreen': rt_vid.c:123:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] destline = (byte *)(bufferofs+ylookup[y+j]+x); ^ rt_vid.c: In function 'DrawTiledRegion': rt_vid.c:169:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] start = ( byte * )( bufferofs + x + ylookup[ y ] ); ^ rt_vid.c: In function 'VL_Bar': rt_vid.c:325:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] byte *dest = (byte *)(bufferofs+ylookup[y]+x); ^ rt_vid.c: In function 'VL_TBar': rt_vid.c:405:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] byte *dest = (byte *)(bufferofs+ylookup[y]+x); ^ rt_vid.c: In function 'VL_Hlin': rt_vid.c:483:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] byte *dest = (byte*)(bufferofs+ylookup[y]+x); ^ rt_vid.c: In function 'VL_Vlin': rt_vid.c:515:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] byte *dest = (byte*)(bufferofs+ylookup[y]+x); ^ rt_vid.c: In function 'VL_THlin': rt_vid.c:604:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] byte *dest = (byte*)(bufferofs+ylookup[y]+x); ^ rt_vid.c: In function 'VL_TVlin': rt_vid.c:662:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] byte *dest = (byte*)(bufferofs+ylookup[y]+x); ^ cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o rt_err.o rt_err.c rt_str.c: In function 'DrawIString': rt_str.c:1632:32: warning: 'returnval' may be used uninitialized in this function [-Wmaybe-uninitialized] fontcolor = GetColor (temp); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ rt_str.c:1620:32: warning: 'returnval' may be used uninitialized in this function [-Wmaybe-uninitialized] oldfontcolor = fontcolor; ~~~~~~~~~~~~~^~~~~~~~~~~ rt_vid.c: In function 'VL_DecompressLBM': rt_vid.c:1045:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] byte *screen = (byte *)bufferofs; ^ rt_vid.c: In function 'VL_DrawLine': rt_vid.c:1253:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] *((byte *)bufferofs+(x1>>16)+(ylookup[y1>>16]))=color; ^ rt_vid.c: In function 'DrawXYPic': rt_vid.c:1287:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buffer = (byte*)bufferofs+ylookup[y]; ^ cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o scriplib.o scriplib.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o w_wad.o w_wad.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o watcom.o watcom.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o z_zone.o z_zone.c cc -pipe -O2 -fno-strict-aliasing -g -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -c -o byteordr.o byteordr.c rt_ted.c: In function 'PreCacheActor': rt_ted.c:401:6: warning: 'end' may be used uninitialized in this function [-Wmaybe-uninitialized] int end; ^~~ rt_ted.c:400:6: warning: 'start' may be used uninitialized in this function [-Wmaybe-uninitialized] int start; ^~~~~ rt_actor.c: In function 'ActorMovement': rt_actor.c:7478:19: warning: 'friction' may be used uninitialized in this function [-Wmaybe-uninitialized] {ob->momentumx = FixedMul (ob->momentumx, friction); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_actor.c:7449:9: warning: 'tryz' may be used uninitialized in this function [-Wmaybe-uninitialized] ActorTryMove(ob,ob->x+ride->momentumx,ob->y+ride->momentumy,tryz) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_ted.c: In function 'SetupTeams': rt_ted.c:2319:7: warning: 'spawnindex' may be used uninitialized in this function [-Wmaybe-uninitialized] newy = SPAWNLOC[spawnlocindex].y; \ ^ rt_ted.c:2397:24: note: 'spawnindex' was declared here maxdist,currdist,spawnindex,cnt; ^~~~~~~~~~ rt_ted.c:2337:6: warning: 'dir' may be used uninitialized in this function [-Wmaybe-uninitialized] SpawnPlayerobj(ntilex,ntiley,dir,j); \ ^~~~~~~~~~~~~~ rt_ted.c:2396:36: note: 'dir' was declared here int i,j,rand,sx,sy,ntilex,ntiley,dir, ^~~ rt_ted.c: In function 'SetupRandomActors': rt_ted.c:5962:5: warning: 'tile' may be used uninitialized in this function [-Wmaybe-uninitialized] SpawnStand(randomtype,i,j,tile-122,ambush); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_ted.c: In function 'RaiseSprites': rt_ted.c:6941:13: warning: 'd' may be used uninitialized in this function [-Wmaybe-uninitialized] if (d==1) ^ rt_actor.c: In function 'T_Projectile': rt_actor.c:4892:29: warning: 'pstate' may be used uninitialized in this function [-Wmaybe-uninitialized] (!pstate->buttonstate[bt_attack]) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ rt_actor.c: In function 'A_MissileWeapon': rt_actor.c:11908:2: warning: 'nstate' may be used uninitialized in this function [-Wmaybe-uninitialized] SpawnMissile(ob,nobclass,nspeed,AngleBetween(ob,PLAYER[0]),nstate,noffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rt_actor.c:11908:2: warning: 'nobclass' may be used uninitialized in this function [-Wmaybe-uninitialized] cc cin_actr.o cin_efct.o cin_evnt.o cin_glob.o cin_main.o cin_util.o dosutil.o engine.o fx_man.o isr.o modexlib.o rt_actor.o rt_battl.o rt_build.o rt_cfg.o rt_crc.o rt_com.o rt_debug.o rt_dmand.o rt_door.o rt_draw.o rt_floor.o rt_game.o rt_in.o rt_main.o rt_map.o rt_menu.o rt_msg.o rt_net.o rt_playr.o rt_rand.o rt_scale.o rt_sound.o rt_spbal.o rt_sqrt.o rt_stat.o rt_state.o rt_str.o rt_swift.o rt_ted.o rt_util.o rt_view.o rt_vid.o rt_err.o scriplib.o w_wad.o watcom.o z_zone.o byteordr.o -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread -lSDL_mixer -Wl,-E -o rott gmake[2]: Leaving directory '/construction/games/rottdc/rottdc-1.0-2/rott-sw' gmake[1]: Leaving directory '/construction/games/rottdc/rottdc-1.0-2' SUCCEEDED 00:00:19 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for rottdc-1.0.2_8 ===> Generating temporary packing list install -s -m 555 /construction/games/rottdc/rottdc-1.0-2/rott/rott /construction/games/rottdc/stage/usr/local/bin/rott install -s -m 555 /construction/games/rottdc/rottdc-1.0-2/rott-sw/rott /construction/games/rottdc/stage/usr/local/bin/rott-sw install -m 0644 /construction/games/rottdc/rottdc-1.0-2/README /construction/games/rottdc/stage/usr/local/share/doc/rottdc (cd /construction/games/rottdc/rottdc-1.0-2/rott && install -m 0644 cheats.txt cmdline.txt /construction/games/rottdc/stage/usr/local/share/doc/rottdc) ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for rottdc-1.0.2_8 file sizes/checksums [5]: 0% file sizes/checksums [5]: 100% packing files [5]: 0% packing files [5]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:01 TOTAL TIME 00:00:30