<86>Feb 9 09:47:27 userdel[430229]: delete user 'rooter' <86>Feb 9 09:47:27 userdel[430229]: removed group 'rooter' owned by 'rooter' <86>Feb 9 09:47:27 groupadd[430234]: group added to /etc/group: name=rooter, GID=603 <86>Feb 9 09:47:27 groupadd[430234]: group added to /etc/gshadow: name=rooter <86>Feb 9 09:47:27 groupadd[430234]: new group: name=rooter, GID=603 <86>Feb 9 09:47:27 useradd[430238]: new user: name=rooter, UID=603, GID=603, home=/root, shell=/bin/bash <86>Feb 9 09:47:27 userdel[430248]: delete user 'builder' <86>Feb 9 09:47:27 userdel[430248]: removed group 'builder' owned by 'builder' <86>Feb 9 09:47:27 groupadd[430253]: group added to /etc/group: name=builder, GID=604 <86>Feb 9 09:47:27 groupadd[430253]: group added to /etc/gshadow: name=builder <86>Feb 9 09:47:27 groupadd[430253]: new group: name=builder, GID=604 <86>Feb 9 09:47:27 useradd[430257]: new user: name=builder, UID=604, GID=604, home=/usr/src, shell=/bin/bash <13>Feb 9 09:47:29 rpmi: libglvnd-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634542 installed <13>Feb 9 09:47:29 rpmi: libogg-1.3.3-alt1 sisyphus+221902.4000.4.1 1550598661 installed <13>Feb 9 09:47:29 rpmi: xorg-proto-devel-2018.4-alt3 1527685079 installed <13>Feb 9 09:47:29 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Feb 9 09:47:29 rpmi: libwayland-server-1.17.0-alt1 sisyphus+225894.100.1.1 1553872805 installed <13>Feb 9 09:47:29 rpmi: libflac8-1.3.2-alt2 sisyphus+220898.4400.11.1 1551973321 installed <13>Feb 9 09:47:29 rpmi: libvorbis-1.3.6-alt2 sisyphus+220072.200.2.2 1548744475 installed <13>Feb 9 09:47:29 rpmi: libOpenGL-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634542 installed <13>Feb 9 09:47:29 rpmi: libGLES-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634542 installed <13>Feb 9 09:47:29 rpmi: libgsm-1.0.17-alt1 1523356165 installed <13>Feb 9 09:47:29 rpmi: libsndfile-1.0.28-alt2 sisyphus.212728.100 1536333068 installed <13>Feb 9 09:47:29 rpmi: liblz4-1:1.9.2-alt1 p9+238696.500.1.1 1570228299 installed <13>Feb 9 09:47:29 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521082 installed <13>Feb 9 09:47:29 rpmi: libgcrypt20-1.8.4-alt2 sisyphus+229280.100.1.1 1557742126 installed <13>Feb 9 09:47:29 rpmi: libsystemd-1:242-alt12 p9+239240.100.1.1 1571079084 installed <13>Feb 9 09:47:29 rpmi: libdbus-1.12.16-alt2 p9+240607.100.1.1 1573553687 installed <13>Feb 9 09:47:29 rpmi: libasyncns-0.8-alt2.qa1 1365949820 installed <13>Feb 9 09:47:30 rpmi: libalsa-1:1.1.9-alt2 sisyphus+229323.100.1.1 1557826759 installed <13>Feb 9 09:47:30 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268571 installed <13>Feb 9 09:47:30 rpmi: libX11-locales-3:1.6.7-alt1 sisyphus+226735.100.2.2 1554615009 installed <13>Feb 9 09:47:30 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949353 installed <13>Feb 9 09:47:30 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Feb 9 09:47:30 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593801 installed <13>Feb 9 09:47:30 rpmi: libX11-3:1.6.7-alt1 sisyphus+226735.100.2.2 1554615005 installed <13>Feb 9 09:47:30 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed <13>Feb 9 09:47:30 rpmi: libXxf86vm-1.1.4-alt2 1527672187 installed <13>Feb 9 09:47:30 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949286 installed <13>Feb 9 09:47:30 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614841 installed <13>Feb 9 09:47:30 rpmi: libXrender-0.9.8-alt1 1371312112 installed <13>Feb 9 09:47:30 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949710 installed <13>Feb 9 09:47:31 rpmi: libxcb-devel-1.13.1-alt1 sisyphus+226527.100.2.2 1554593801 installed <13>Feb 9 09:47:31 rpmi: libX11-devel-3:1.6.7-alt1 sisyphus+226735.100.2.2 1554615005 installed <13>Feb 9 09:47:31 rpmi: libpulseaudio-12.2-alt3 p9+233336.100.1.1 1561644521 installed <13>Feb 9 09:47:31 rpmi: libSDL-1.2.14-alt8 p9+232634.100.1.1 1560964518 installed <13>Feb 9 09:47:31 rpmi: libwayland-client-1.17.0-alt1 sisyphus+225894.100.1.1 1553872805 installed <13>Feb 9 09:47:31 rpmi: libpciaccess-1:0.14-alt1 1528969252 installed <13>Feb 9 09:47:31 rpmi: libdrm-1:2.4.99-alt1 p9+236610.100.1.1 1566818128 installed <13>Feb 9 09:47:31 rpmi: libGLX-mesa-4:19.1.8-alt1 p9+240059.100.2.1 1573598676 installed <13>Feb 9 09:47:31 rpmi: libGLX-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634542 installed <13>Feb 9 09:47:31 rpmi: libGL-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634542 installed <13>Feb 9 09:47:31 rpmi: libGLU-4:9.0.0-alt1 1347643784 installed <13>Feb 9 09:47:31 rpmi: libgbm-4:19.1.8-alt1 p9+240059.100.2.1 1573598676 installed <13>Feb 9 09:47:31 rpmi: libEGL-mesa-4:19.1.8-alt1 p9+240059.100.2.1 1573598676 installed <13>Feb 9 09:47:31 rpmi: libEGL-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634542 installed <13>Feb 9 09:47:31 rpmi: libglvnd-devel-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634542 installed <13>Feb 9 09:47:31 rpmi: libEGL-devel-4:19.1.8-alt1 p9+240059.100.2.1 1573598676 installed <13>Feb 9 09:47:31 rpmi: libGL-devel-4:19.1.8-alt1 p9+240059.100.2.1 1573598676 installed <13>Feb 9 09:47:31 rpmi: libGLU-devel-4:9.0.0-alt1 1347643784 installed <13>Feb 9 09:47:31 rpmi: libSDL-devel-1.2.14-alt8 p9+232634.100.1.1 1560964518 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/sdlscav-145.1_2010_11_5-alt1.nosrc.rpm Installing sdlscav-145.1_2010_11_5-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.49707 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf sdlscav-145.1_2010_11_5 + echo 'Source #0 (sdlscav-145.1_2010_11_5.tar):' Source #0 (sdlscav-145.1_2010_11_5.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/sdlscav-145.1_2010_11_5.tar + cd sdlscav-145.1_2010_11_5 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #1 (sdlscav-145-datapath.patch):' Patch #1 (sdlscav-145-datapath.patch): + /usr/bin/patch -p2 patching file names.h + '[' -f data/regulargui.lbm -a '!' -f data/regularguy.lbm ']' + mv data/regularguy.lbm data/regulargui.lbm + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.49707 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd sdlscav-145.1_2010_11_5 ++ sdl-config --cflags + make -j8 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT' make: Entering directory '/usr/src/RPM/BUILD/sdlscav-145.1_2010_11_5' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sound.o sound.c make: Leaving directory '/usr/src/RPM/BUILD/sdlscav-145.1_2010_11_5' make: Entering directory '/usr/src/RPM/BUILD/sdlscav-145.1_2010_11_5' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o edit.o edit.c edit.c: In function 'checks': edit.c:61:10: warning: pointer targets in returning 'char *' from a function with return type 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return "level must have exactly 1 player"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:63:10: warning: pointer targets in returning 'char *' from a function with return type 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return "level cannot have more than 5 enemies"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:67:17: warning: pointer targets in returning 'char *' from a function with return type 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return "number of flashing berries must be 0 to 3"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:72:13: warning: pointer targets in returning 'char *' from a function with return type 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return "level must have exactly 0 or 3 flashing objects"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:77:17: warning: pointer targets in returning 'char *' from a function with return type 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return "number of hidden ememies must be 0 to 3"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:82:13: warning: pointer targets in returning 'char *' from a function with return type 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return "level must have exactly 0 or 3 hidden enemies"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:85:10: warning: pointer targets in returning 'char *' from a function with return type 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return "if you have escape ladders, you must have at least 1 object"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:94:10: warning: pointer targets in returning 'char *' from a function with return type 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return "there must be at least 1 empty space on the top row"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c: In function 'mode4': edit.c:251:20: warning: pointer targets in passing argument 1 of 'centermsg' differ in signedness [-Wpointer-sign] centermsg("Save or load before changing levels"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from scav.h:50, from edit.c:5: edit.h:25:13: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' extern void centermsg(uchar *from); ^~~~~~~~~ edit.c:268:20: warning: pointer targets in passing argument 1 of 'centermsg' differ in signedness [-Wpointer-sign] centermsg("Save or load before changing levels"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from scav.h:50, from edit.c:5: edit.h:25:13: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' extern void centermsg(uchar *from); ^~~~~~~~~ edit.c:288:14: warning: pointer targets in passing argument 1 of 'centermsg' differ in signedness [-Wpointer-sign] centermsg("use alt-l to load over modified level"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from scav.h:50, from edit.c:5: edit.h:25:13: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' extern void centermsg(uchar *from); ^~~~~~~~~ edit.c:310:15: warning: pointer targets in passing argument 1 of 'centermsg' differ in signedness [-Wpointer-sign] centermsg("cannot write level 0"); ^~~~~~~~~~~~~~~~~~~~~~ In file included from scav.h:50, from edit.c:5: edit.h:25:13: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' extern void centermsg(uchar *from); ^~~~~~~~~ edit.c:315:35: warning: pointer targets in passing argument 2 of 'getresource' differ in signedness [-Wpointer-sign] got=getresource((clevel-1)<<1,buff,16); ^~~~ In file included from edit.c:5: scav.h:446:12: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} extern int getresource(int num,char *put,int len); ^~~~~~~~~~~ edit.c:319:16: warning: pointer targets in passing argument 1 of 'centermsg' differ in signedness [-Wpointer-sign] centermsg("use alt-w to overwrite existing level"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from scav.h:50, from edit.c:5: edit.h:25:13: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' extern void centermsg(uchar *from); ^~~~~~~~~ edit.c:337:16: warning: pointer targets in passing argument 1 of 'centermsg' differ in signedness [-Wpointer-sign] centermsg("could not write level"); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from scav.h:50, from edit.c:5: edit.h:25:13: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' extern void centermsg(uchar *from); ^~~~~~~~~ edit.c:339:16: warning: pointer targets in passing argument 1 of 'centermsg' differ in signedness [-Wpointer-sign] centermsg("could not delete movie"); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from scav.h:50, from edit.c:5: edit.h:25:13: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' extern void centermsg(uchar *from); ^~~~~~~~~ edit.c:341:16: warning: pointer targets in passing argument 1 of 'centermsg' differ in signedness [-Wpointer-sign] centermsg("level saved"); ^~~~~~~~~~~~~ In file included from scav.h:50, from edit.c:5: edit.h:25:13: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' extern void centermsg(uchar *from); ^~~~~~~~~ edit.c: In function 'centermsg': edit.c:371:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] i=strlen(from); ^~~~ In file included from scav.h:33, from edit.c:5: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ edit.c: In function 'einfo': edit.c:384:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(temp,"LEVEL %04d L=LOAD W=WRITE ESC=EXIT 0-9 CHANGE LEVEL KP +- UP/DN LEVEL",clevel); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from edit.c:5: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ edit.c:385:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] i=strlen(temp); ^~~~ In file included from scav.h:33, from edit.c:5: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ edit.c: In function 'puteinfo': edit.c:393:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(ewant,einfo()); ^~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from edit.c:5: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ edit.c:393:15: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(ewant,einfo()); ^~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from edit.c:5: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ edit.c:395:16: warning: pointer targets in passing argument 1 of 'writestring' differ in signedness [-Wpointer-sign] writestring("F1 - F12 ->",30,457,whitecolor); ^~~~~~~~~~~~~ In file included from edit.c:5: scav.h:455:13: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' extern void writestring(uchar *str, int x, int y, int color); ^~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/sdlscav-145.1_2010_11_5' make: Entering directory '/usr/src/RPM/BUILD/sdlscav-145.1_2010_11_5' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o gfx.o gfx.c gfx.c: In function 'opengfx': gfx.c:57:18: warning: pointer targets in passing argument 1 of 'expandpath' differ in signedness [-Wpointer-sign] if(!expandpath(temp,"scav.bmp",i)) ^~~~ In file included from gfx.c:5: scav.h:535:12: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} extern int expandpath(char *put,char *name,int num); ^~~~~~~~~~ gfx.c:62:13: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] if ( open(temp,O_RDONLY|O_BINARY)!=-1 ) ^~~~ In file included from /usr/include/fcntl.h:313, from scav.h:32, from gfx.c:5: /usr/include/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} open (const char *__path, int __oflag, ...) ^~~~ In file included from /usr/include/SDL/SDL_mouse.h:32, from /usr/include/SDL/SDL_events.h:35, from /usr/include/SDL/SDL.h:37, from scav.h:45, from gfx.c:5: gfx.c:68:30: warning: pointer targets in passing argument 1 of 'SDL_RWFromFile' differ in signedness [-Wpointer-sign] SDL_WM_SetIcon(SDL_LoadBMP(temp), NULL); ^~~~ /usr/include/SDL/SDL_video.h:592:57: note: in definition of macro 'SDL_LoadBMP' #define SDL_LoadBMP(file) SDL_LoadBMP_RW(SDL_RWFromFile(file, "rb"), 1) ^~~~ In file included from /usr/include/SDL/SDL_audio.h:36, from /usr/include/SDL/SDL.h:32, from scav.h:45, from gfx.c:5: /usr/include/SDL/SDL_rwops.h:99:37: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} extern DECLSPEC SDL_RWops * SDLCALL SDL_RWFromFile(const char *file, const char *mode); ^~~~~~~~~~~~~~ gfx.c: In function 'scaninput': gfx.c:159:9: warning: variable 'mod' set but not used [-Wunused-but-set-variable] int key,mod; ^~~ make: Leaving directory '/usr/src/RPM/BUILD/sdlscav-145.1_2010_11_5' make: Entering directory '/usr/src/RPM/BUILD/sdlscav-145.1_2010_11_5' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o anim.o anim.c anim.c: In function 'drawanimmenu': anim.c:77:16: warning: pointer targets in passing argument 1 of 'farlefttext' differ in signedness [-Wpointer-sign] farlefttext("ESCAPE EXIT ANIMATOR"); ^~~~~~~~~~~~~~~~~~~~~~~~ anim.c:60:6: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' void farlefttext(uchar *txt) ^~~~~~~~~~~ anim.c:78:16: warning: pointer targets in passing argument 1 of 'farlefttext' differ in signedness [-Wpointer-sign] farlefttext("SHIFT S SAVE CHANGES"); ^~~~~~~~~~~~~~~~~~~~~~~ anim.c:60:6: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' void farlefttext(uchar *txt) ^~~~~~~~~~~ anim.c:79:16: warning: pointer targets in passing argument 1 of 'farlefttext' differ in signedness [-Wpointer-sign] farlefttext("SHIFT L RELOAD LAST SAVE"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ anim.c:60:6: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' void farlefttext(uchar *txt) ^~~~~~~~~~~ anim.c:80:16: warning: pointer targets in passing argument 1 of 'farlefttext' differ in signedness [-Wpointer-sign] farlefttext(" ALT 1 FIXTURES"); ^~~~~~~~~~~~~~~~~~~ anim.c:60:6: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' void farlefttext(uchar *txt) ^~~~~~~~~~~ anim.c:81:16: warning: pointer targets in passing argument 1 of 'farlefttext' differ in signedness [-Wpointer-sign] farlefttext(" ALT 2 HERO POSES"); ^~~~~~~~~~~~~~~~~~~~~ anim.c:60:6: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' void farlefttext(uchar *txt) ^~~~~~~~~~~ anim.c:82:16: warning: pointer targets in passing argument 1 of 'farlefttext' differ in signedness [-Wpointer-sign] farlefttext(" ALT 3 ENEMY POSES"); ^~~~~~~~~~~~~~~~~~~~~~ anim.c:60:6: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' void farlefttext(uchar *txt) ^~~~~~~~~~~ anim.c:83:16: warning: pointer targets in passing argument 1 of 'farlefttext' differ in signedness [-Wpointer-sign] farlefttext(" ALT 4 HIDDEN POSES"); ^~~~~~~~~~~~~~~~~~~~~~~ anim.c:60:6: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' void farlefttext(uchar *txt) ^~~~~~~~~~~ anim.c:84:16: warning: pointer targets in passing argument 1 of 'farlefttext' differ in signedness [-Wpointer-sign] farlefttext(" U UNDO LAST EDIT"); ^~~~~~~~~~~~~~~~~~~~~~~~~ anim.c:60:6: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' void farlefttext(uchar *txt) ^~~~~~~~~~~ anim.c:85:16: warning: pointer targets in passing argument 1 of 'farlefttext' differ in signedness [-Wpointer-sign] farlefttext(" X MIRROR X"); ^~~~~~~~~~~~~~~~~~~ anim.c:60:6: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' void farlefttext(uchar *txt) ^~~~~~~~~~~ anim.c:86:16: warning: pointer targets in passing argument 1 of 'farlefttext' differ in signedness [-Wpointer-sign] farlefttext(" Y MIRROR Y"); ^~~~~~~~~~~~~~~~~~~ anim.c:60:6: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' void farlefttext(uchar *txt) ^~~~~~~~~~~ anim.c:87:16: warning: pointer targets in passing argument 1 of 'farlefttext' differ in signedness [-Wpointer-sign] farlefttext(" Z ROTATE 90 CW"); ^~~~~~~~~~~~~~~~~~~~~~~ anim.c:60:6: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' void farlefttext(uchar *txt) ^~~~~~~~~~~ anim.c:88:16: warning: pointer targets in passing argument 1 of 'farlefttext' differ in signedness [-Wpointer-sign] farlefttext("D F B R DRAW,FILL,BOX,RECT"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ anim.c:60:6: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' void farlefttext(uchar *txt) ^~~~~~~~~~~ anim.c:89:16: warning: pointer targets in passing argument 1 of 'farlefttext' differ in signedness [-Wpointer-sign] farlefttext(", . L GET COLOR,DOT,LINE"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ anim.c:60:6: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' void farlefttext(uchar *txt) ^~~~~~~~~~~ anim.c:92:13: warning: pointer targets in passing argument 1 of 'texthere' differ in signedness [-Wpointer-sign] texthere("R G B"); ^~~~~~~ In file included from anim.c:5: scav.h:465:13: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' extern void texthere(uchar *txt); ^~~~~~~~ anim.c: In function 'mode2': anim.c:127:13: warning: pointer targets in passing argument 1 of 'getsquare' differ in signedness [-Wpointer-sign] getsquare(asquare,animbox); ^~~~~~~ In file included from scav.h:49, from anim.c:5: anim.h:22:13: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} extern void getsquare(char *dest,int num); ^~~~~~~~~ anim.c: In function 'rot90': anim.c:312:13: warning: pointer targets in passing argument 1 of 'copysquare' differ in signedness [-Wpointer-sign] copysquare(temp,userbrush); ^~~~ anim.c:302:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void copysquare(char *dest,char *source) ^~~~~~~~~~ anim.c:312:18: warning: pointer targets in passing argument 2 of 'copysquare' differ in signedness [-Wpointer-sign] copysquare(temp,userbrush); ^~~~~~~~~ anim.c:302:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void copysquare(char *dest,char *source) ^~~~~~~~~~ anim.c: In function 'animprocess': anim.c:704:32: warning: pointer targets in passing argument 1 of 'copysquare' differ in signedness [-Wpointer-sign] if(where==BLOWUP) copysquare(savesquare,asquare); ^~~~~~~~~~ anim.c:302:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void copysquare(char *dest,char *source) ^~~~~~~~~~ anim.c:704:43: warning: pointer targets in passing argument 2 of 'copysquare' differ in signedness [-Wpointer-sign] if(where==BLOWUP) copysquare(savesquare,asquare); ^~~~~~~ anim.c:302:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void copysquare(char *dest,char *source) ^~~~~~~~~~ anim.c:720:16: warning: pointer targets in passing argument 1 of 'copysquare' differ in signedness [-Wpointer-sign] copysquare(tsquare2,asquare); ^~~~~~~~ anim.c:302:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void copysquare(char *dest,char *source) ^~~~~~~~~~ anim.c:720:25: warning: pointer targets in passing argument 2 of 'copysquare' differ in signedness [-Wpointer-sign] copysquare(tsquare2,asquare); ^~~~~~~ anim.c:302:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void copysquare(char *dest,char *source) ^~~~~~~~~~ anim.c:721:16: warning: pointer targets in passing argument 1 of 'copysquare' differ in signedness [-Wpointer-sign] copysquare(asquare,savesquare); ^~~~~~~ anim.c:302:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void copysquare(char *dest,char *source) ^~~~~~~~~~ anim.c:721:24: warning: pointer targets in passing argument 2 of 'copysquare' differ in signedness [-Wpointer-sign] copysquare(asquare,savesquare); ^~~~~~~~~~ anim.c:302:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void copysquare(char *dest,char *source) ^~~~~~~~~~ anim.c:722:16: warning: pointer targets in passing argument 1 of 'copysquare' differ in signedness [-Wpointer-sign] copysquare(savesquare,tsquare2); ^~~~~~~~~~ anim.c:302:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void copysquare(char *dest,char *source) ^~~~~~~~~~ anim.c:722:27: warning: pointer targets in passing argument 2 of 'copysquare' differ in signedness [-Wpointer-sign] copysquare(savesquare,tsquare2); ^~~~~~~~ anim.c:302:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void copysquare(char *dest,char *source) ^~~~~~~~~~ anim.c:726:16: warning: pointer targets in passing argument 1 of 'copysquare' differ in signedness [-Wpointer-sign] copysquare(savesquare,asquare); ^~~~~~~~~~ anim.c:302:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void copysquare(char *dest,char *source) ^~~~~~~~~~ anim.c:726:27: warning: pointer targets in passing argument 2 of 'copysquare' differ in signedness [-Wpointer-sign] copysquare(savesquare,asquare); ^~~~~~~ anim.c:302:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void copysquare(char *dest,char *source) ^~~~~~~~~~ anim.c:790:14: warning: pointer targets in passing argument 1 of 'getsquare' differ in signedness [-Wpointer-sign] getsquare(asquare,animbox); ^~~~~~~ anim.c:153:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void getsquare(char *dest,int num) ^~~~~~~~~ anim.c:792:15: warning: pointer targets in passing argument 1 of 'copysquare' differ in signedness [-Wpointer-sign] copysquare(savesquare,asquare); ^~~~~~~~~~ anim.c:302:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void copysquare(char *dest,char *source) ^~~~~~~~~~ anim.c:792:26: warning: pointer targets in passing argument 2 of 'copysquare' differ in signedness [-Wpointer-sign] copysquare(savesquare,asquare); ^~~~~~~ anim.c:302:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void copysquare(char *dest,char *source) ^~~~~~~~~~ anim.c:809:14: warning: pointer targets in passing argument 1 of 'getsquare' differ in signedness [-Wpointer-sign] getsquare(savesquare,animbox); ^~~~~~~~~~ anim.c:153:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void getsquare(char *dest,int num) ^~~~~~~~~ anim.c:810:22: warning: pointer targets in passing argument 2 of 'putsquare' differ in signedness [-Wpointer-sign] putsquare(animbox,asquare); ^~~~~~~ anim.c:168:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void putsquare(int num,char *source) ^~~~~~~~~ anim.c:842:15: warning: pointer targets in passing argument 1 of 'copysquare' differ in signedness [-Wpointer-sign] copysquare(asquare,savesquare); ^~~~~~~ anim.c:302:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void copysquare(char *dest,char *source) ^~~~~~~~~~ anim.c:842:23: warning: pointer targets in passing argument 2 of 'copysquare' differ in signedness [-Wpointer-sign] copysquare(asquare,savesquare); ^~~~~~~~~~ anim.c:302:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void copysquare(char *dest,char *source) ^~~~~~~~~~ anim.c:847:15: warning: pointer targets in passing argument 1 of 'copysquare' differ in signedness [-Wpointer-sign] copysquare(asquare,savesquare); ^~~~~~~ anim.c:302:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void copysquare(char *dest,char *source) ^~~~~~~~~~ anim.c:847:23: warning: pointer targets in passing argument 2 of 'copysquare' differ in signedness [-Wpointer-sign] copysquare(asquare,savesquare); ^~~~~~~~~~ anim.c:302:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void copysquare(char *dest,char *source) ^~~~~~~~~~ anim.c:856:15: warning: pointer targets in passing argument 1 of 'copysquare' differ in signedness [-Wpointer-sign] copysquare(tsquare,asquare); ^~~~~~~ anim.c:302:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void copysquare(char *dest,char *source) ^~~~~~~~~~ anim.c:856:23: warning: pointer targets in passing argument 2 of 'copysquare' differ in signedness [-Wpointer-sign] copysquare(tsquare,asquare); ^~~~~~~ anim.c:302:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void copysquare(char *dest,char *source) ^~~~~~~~~~ anim.c:867:14: warning: pointer targets in passing argument 1 of 'copysquare' differ in signedness [-Wpointer-sign] copysquare(tsquare,asquare); ^~~~~~~ anim.c:302:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void copysquare(char *dest,char *source) ^~~~~~~~~~ anim.c:867:22: warning: pointer targets in passing argument 2 of 'copysquare' differ in signedness [-Wpointer-sign] copysquare(tsquare,asquare); ^~~~~~~ anim.c:302:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void copysquare(char *dest,char *source) ^~~~~~~~~~ anim.c:876:14: warning: pointer targets in passing argument 1 of 'copysquare' differ in signedness [-Wpointer-sign] copysquare(tsquare,asquare); ^~~~~~~ anim.c:302:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void copysquare(char *dest,char *source) ^~~~~~~~~~ anim.c:876:22: warning: pointer targets in passing argument 2 of 'copysquare' differ in signedness [-Wpointer-sign] copysquare(tsquare,asquare); ^~~~~~~ anim.c:302:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void copysquare(char *dest,char *source) ^~~~~~~~~~ anim.c:896:14: warning: pointer targets in passing argument 1 of 'copysquare' differ in signedness [-Wpointer-sign] copysquare(tsquare2,asquare); ^~~~~~~~ anim.c:302:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void copysquare(char *dest,char *source) ^~~~~~~~~~ anim.c:896:23: warning: pointer targets in passing argument 2 of 'copysquare' differ in signedness [-Wpointer-sign] copysquare(tsquare2,asquare); ^~~~~~~ anim.c:302:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void copysquare(char *dest,char *source) ^~~~~~~~~~ anim.c:897:14: warning: pointer targets in passing argument 1 of 'copysquare' differ in signedness [-Wpointer-sign] copysquare(asquare,savesquare); ^~~~~~~ anim.c:302:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void copysquare(char *dest,char *source) ^~~~~~~~~~ anim.c:897:22: warning: pointer targets in passing argument 2 of 'copysquare' differ in signedness [-Wpointer-sign] copysquare(asquare,savesquare); ^~~~~~~~~~ anim.c:302:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void copysquare(char *dest,char *source) ^~~~~~~~~~ anim.c:898:14: warning: pointer targets in passing argument 1 of 'copysquare' differ in signedness [-Wpointer-sign] copysquare(savesquare,tsquare2); ^~~~~~~~~~ anim.c:302:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void copysquare(char *dest,char *source) ^~~~~~~~~~ anim.c:898:25: warning: pointer targets in passing argument 2 of 'copysquare' differ in signedness [-Wpointer-sign] copysquare(savesquare,tsquare2); ^~~~~~~~ anim.c:302:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void copysquare(char *dest,char *source) ^~~~~~~~~~ anim.c:960:20: warning: pointer targets in passing argument 1 of 'getsquare' differ in signedness [-Wpointer-sign] getsquare(asquare,animbox); ^~~~~~~ anim.c:153:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void getsquare(char *dest,int num) ^~~~~~~~~ anim.c:961:21: warning: pointer targets in passing argument 1 of 'copysquare' differ in signedness [-Wpointer-sign] copysquare(tsquare,asquare); ^~~~~~~ anim.c:302:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void copysquare(char *dest,char *source) ^~~~~~~~~~ anim.c:961:29: warning: pointer targets in passing argument 2 of 'copysquare' differ in signedness [-Wpointer-sign] copysquare(tsquare,asquare); ^~~~~~~ anim.c:302:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void copysquare(char *dest,char *source) ^~~~~~~~~~ anim.c:1004:21: warning: pointer targets in passing argument 2 of 'putsquare' differ in signedness [-Wpointer-sign] putsquare(animbox,asquare); ^~~~~~~ anim.c:168:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void putsquare(int num,char *source) ^~~~~~~~~ anim.c: In function 'paintboxes': anim.c:1030:14: warning: pointer targets in passing argument 1 of 'getsquare' differ in signedness [-Wpointer-sign] getsquare(tsquare,j*12+i); ^~~~~~~ anim.c:153:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void getsquare(char *dest,int num) ^~~~~~~~~ anim.c: In function 'paintanim': anim.c:1051:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(ttt,"%s artwork: %s",descriptions[workingon], ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from anim.c:5: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ anim.c:1053:13: warning: pointer targets in passing argument 1 of 'drawstring' differ in signedness [-Wpointer-sign] drawstring(ttt,4,4,255); ^~~ anim.c:7:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void drawstring(char *, ...); ^~~~~~~~~~ anim.c:1077:14: warning: pointer targets in passing argument 1 of 'getsquare0' differ in signedness [-Wpointer-sign] getsquare0(tsquare,BUTTONFIGS+i); ^~~~~~~ anim.c:137:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void getsquare0(char *dest,int num) ^~~~~~~~~~ anim.c: In function 'toanim': anim.c:1110:12: warning: pointer targets in passing argument 1 of 'getsquare' differ in signedness [-Wpointer-sign] getsquare(asquare,animbox); ^~~~~~~ anim.c:153:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void getsquare(char *dest,int num) ^~~~~~~~~ anim.c:1115:12: warning: pointer targets in passing argument 1 of 'getsquare' differ in signedness [-Wpointer-sign] getsquare(asquare,animbox); ^~~~~~~ anim.c:153:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void getsquare(char *dest,int num) ^~~~~~~~~ anim.c:1116:13: warning: pointer targets in passing argument 1 of 'copysquare' differ in signedness [-Wpointer-sign] copysquare(savesquare,asquare); ^~~~~~~~~~ anim.c:302:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void copysquare(char *dest,char *source) ^~~~~~~~~~ anim.c:1116:24: warning: pointer targets in passing argument 2 of 'copysquare' differ in signedness [-Wpointer-sign] copysquare(savesquare,asquare); ^~~~~~~ anim.c:302:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void copysquare(char *dest,char *source) ^~~~~~~~~~ anim.c: In function 'savegfx': anim.c:1181:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(ttt,"%s/%s/%s",localname,localdirname,gfxnames[workingon]); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from anim.c:5: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ anim.c: In function 'writeiff': anim.c:1196:13: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] wfile=open(name,O_WRONLY|O_CREAT|O_TRUNC|O_BINARY,0600); ^~~~ In file included from /usr/include/fcntl.h:313, from scav.h:32, from anim.c:5: /usr/include/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} open (const char *__path, int __oflag, ...) ^~~~ anim.c: In function 'lout': anim.c:1153:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(wfile,buff4,4); ^~~~~~~~~~~~~~~~~~~~ anim.c: In function 'wout': anim.c:1162:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(wfile,buff2,2); ^~~~~~~~~~~~~~~~~~~~ anim.c: In function 'bout': anim.c:1168:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(wfile,&val,1); ^~~~~~~~~~~~~~~~~~~ anim.c: In function 'savegfx': anim.c:1181:18: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] sprintf(ttt,"%s/%s/%s",localname,localdirname,gfxnames[workingon]); ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from scav.h:28, from anim.c:5: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 3 or more bytes (assuming 513) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/sdlscav-145.1_2010_11_5' make: Entering directory '/usr/src/RPM/BUILD/sdlscav-145.1_2010_11_5' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o scav.o scav.c scav.c:194:16: warning: pointer targets in initialization of 'uchar *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] uchar *wantiff="Picture file must be in IFF format.\n"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scav.c: In function 'doiff': scav.c:292:17: warning: pointer targets in returning 'char *' from a function with return type 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return "Could not allocate memory for picture.\n"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scav.c:297:22: warning: pointer targets in passing argument 1 of 'expandpath' differ in signedness [-Wpointer-sign] if(!expandpath(temparea,name,i)) ^~~~~~~~ scav.c:257:5: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int expandpath(char *put,char *name,int num) ^~~~~~~~~~ scav.c:297:31: warning: pointer targets in passing argument 2 of 'expandpath' differ in signedness [-Wpointer-sign] if(!expandpath(temparea,name,i)) ^~~~ scav.c:257:5: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int expandpath(char *put,char *name,int num) ^~~~~~~~~~ scav.c:298:17: warning: pointer targets in returning 'char *' from a function with return type 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return "Cannot open picture file.\n"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scav.c:299:18: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] ihand=open(temparea,O_RDONLY|O_BINARY); ^~~~~~~~ In file included from /usr/include/fcntl.h:313, from scav.h:32, from scav.c:6: /usr/include/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} open (const char *__path, int __oflag, ...) ^~~~ scav.c:283:7: warning: variable 'comp' set but not used [-Wunused-but-set-variable] uchar comp; ^~~~ scav.c: In function 'debit': scav.c:358:35: warning: pointer targets in passing argument 1 of 'fixbyte' differ in signedness [-Wpointer-sign] *picput++ = fixbyte(lines+i,1<<j,deep); ~~~~~^~ In file included from scav.c:6: scav.h:444:12: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} extern int fixbyte(char *take,int bit,int deep); ^~~~~~~ scav.c: In function 'getresource': scav.c:410:16: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (strncmp(buff,"SCAV",4)) {close(input);return -3;} ^~~~ In file included from scav.h:33, from scav.c:6: /usr/include/string.h:139:12: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ scav.c: In function 'putresource': scav.c:454:15: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if(strncmp(buff,"SCAV",4)) {close(input);return -3;} /* first 4-bytes are SCAV signature */ ^~~~ In file included from scav.h:33, from scav.c:6: /usr/include/string.h:139:12: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ scav.c: In function 'loadlevel': scav.c:545:40: warning: pointer targets in passing argument 2 of 'getresource' differ in signedness [-Wpointer-sign] err = getresource ((num-1) << 1, tlevel, 180); ^~~~~~ scav.c:398:5: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int getresource(int num,char *put,int len) ^~~~~~~~~~~ scav.c: In function 'paintlevel': scav.c:629:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(ttt,"PLAYER:%s",playername); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from scav.c:6: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ scav.c:631:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(ttt,"PRESS SPACE FOR MENU"); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from scav.c:6: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ scav.c:633:18: warning: pointer targets in passing argument 1 of 'centertext' differ in signedness [-Wpointer-sign] centertext(" "); /* enough space to clear longest player name */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from scav.c:6: scav.h:467:13: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' extern void centertext(uchar *txt); ^~~~~~~~~~ scav.c: In function 'dectime': scav.c:655:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(statuswant," "); ^~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from scav.c:6: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ scav.c: In function 'initplay': scav.c:810:55: warning: pointer targets in passing argument 2 of 'getresource' differ in signedness [-Wpointer-sign] moviesize = getresource (1 + ((clevel-1) << 1), movie, MOVIEMAX+20); ^~~~~ scav.c:398:5: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int getresource(int num,char *put,int len) ^~~~~~~~~~~ scav.c:910:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(statuswant,"-100 EACH SEC. "); ^~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from scav.c:6: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ scav.c: In function 'maketext': scav.c:916:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(topwant,"LEVEL %04d %-18s SCORE-TIME %05d-%04d BEST %05d-%04d.%02d ",clevel,bestname,score,totalPlaySeconds,bestscore,besttime,(bestPlayCycles % 60)); ^~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from scav.c:6: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ scav.c: In function 'initdemo': scav.c:933:49: warning: pointer targets in passing argument 2 of 'getresource' differ in signedness [-Wpointer-sign] err = getresource (1 + ((clevel-1) << 1), movie, 20); ^~~~~ scav.c:398:5: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int getresource(int num,char *put,int len) ^~~~~~~~~~~ scav.c: In function 'centertext': scav.c:1029:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] ptx=320-(8*(strlen(txt)/2)); ^~~ In file included from scav.h:33, from scav.c:6: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ scav.c: In function 'nextlevel': scav.c:1049:18: warning: pointer targets in passing argument 1 of 'centertext' differ in signedness [-Wpointer-sign] centertext("YOU PASSED THE LEVEL!"); ^~~~~~~~~~~~~~~~~~~~~~~ scav.c:1024:6: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' void centertext (uchar *txt) ^~~~~~~~~~ scav.c:1050:14: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(ttt,"HIDDEN MONSTER - "); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from scav.c:6: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ scav.c:1052:17: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(ttt,"YES\n"); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from scav.c:6: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^~~~~ scav.c:1054:17: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(ttt,"N/A\n"); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from scav.c:6: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^~~~~ scav.c:1056:17: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(ttt," NO\n"); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from scav.c:6: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^~~~~ scav.c:1058:14: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(ttt,"FLASHING FIRST - "); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from scav.c:6: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ scav.c:1060:17: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(ttt,"YES\n"); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from scav.c:6: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^~~~~ scav.c:1062:17: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(ttt,"N/A\n"); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from scav.c:6: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^~~~~ scav.c:1064:17: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(ttt," NO\n"); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from scav.c:6: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^~~~~ scav.c:1066:18: warning: pointer targets in passing argument 1 of 'centertext' differ in signedness [-Wpointer-sign] centertext("-----------"); ^~~~~~~~~~~~~ scav.c:1024:6: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' void centertext (uchar *txt) ^~~~~~~~~~ scav.c:1067:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(ttt,"TIME BONUS %03d00",bonusSecondsLeft); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from scav.c:6: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ scav.c:1071:21: warning: pointer targets in passing argument 1 of 'centertext' differ in signedness [-Wpointer-sign] centertext("NO TRAPPING 20000\n"); ^~~~~~~~~~~~~~~~~~~~~~~~ scav.c:1024:6: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' void centertext (uchar *txt) ^~~~~~~~~~ scav.c:1074:21: warning: pointer targets in passing argument 1 of 'centertext' differ in signedness [-Wpointer-sign] centertext("NO KILLING 10000\n"); ^~~~~~~~~~~~~~~~~~~~~~~~ scav.c:1024:6: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' void centertext (uchar *txt) ^~~~~~~~~~ scav.c:1076:18: warning: pointer targets in passing argument 1 of 'centertext' differ in signedness [-Wpointer-sign] centertext("-----------"); ^~~~~~~~~~~~~ scav.c:1024:6: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' void centertext (uchar *txt) ^~~~~~~~~~ scav.c:1077:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(ttt,"YOUR SCORE %05d",score); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from scav.c:6: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ scav.c:1079:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(ttt,"BEST SCORE %05d",bestscore); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from scav.c:6: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ scav.c:1081:18: warning: pointer targets in passing argument 1 of 'centertext' differ in signedness [-Wpointer-sign] centertext("-----------"); ^~~~~~~~~~~~~ scav.c:1024:6: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' void centertext (uchar *txt) ^~~~~~~~~~ scav.c:1082:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(ttt,"YOUR TIME %04d.%02d SECS.",totalPlaySeconds,(totalPlayCycles % 60)); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from scav.c:6: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ scav.c:1084:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(ttt,"BEST TIME %04d.%02d SECS.",besttime,(bestPlayCycles % 60)); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from scav.c:6: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ scav.c:1088:21: warning: pointer targets in passing argument 1 of 'centertext' differ in signedness [-Wpointer-sign] centertext(""); ^~ scav.c:1024:6: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' void centertext (uchar *txt) ^~~~~~~~~~ scav.c:1090:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(ttt,"SCORE TIED WITH A BETTER TIME ON LEVEL %04d!",clevel); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from scav.c:6: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ scav.c:1092:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(ttt,"YOU JUST GOT THE HIGH SCORE FOR LEVEL %04d!!!",clevel); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from scav.c:6: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ scav.c:1103:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(ttt,"PRESS SPACE FOR NEXT LEVEL"); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from scav.c:6: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ scav.c: In function 'getgfx': scav.c:1365:20: warning: pointer targets in passing argument 1 of 'doiff' differ in signedness [-Wpointer-sign] p=doiff(gfxnames[num]); ~~~~~~~~^~~~~ scav.c:280:8: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' uchar *doiff(uchar *name) ^~~~~ scav.c:1368:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(temp,"%s:%s",gfxnames[num],p); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from scav.c:6: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ scav.c:1375:14: warning: pointer targets in returning 'char *' from a function with return type 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return "Could not allocate memory for gfx set.\n"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scav.c: In function 'getconfig': scav.c:1439:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(*pnt++,name)) ^~~~ In file included from scav.h:33, from scav.c:6: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ scav.c: In function 'finddata': scav.c:1557:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(temp,"%s/%s",localname,localdirname); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from scav.c:6: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ scav.c:1558:11: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] i=stat(temp,&statbuf); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from scav.c:6: /usr/include/sys/stat.h:449:1: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (stat (const char *__path, struct stat *__statbuf)) ^~~~~ scav.c:1565:17: warning: pointer targets in passing argument 1 of 'mkdir' differ in signedness [-Wpointer-sign] err=mkdir(temp,00700); ^~~~ In file included from scav.h:31, from scav.c:6: /usr/include/sys/stat.h:317:12: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} extern int mkdir (const char *__path, __mode_t __mode) ^~~~~ scav.c:1583:25: warning: pointer targets in passing argument 1 of 'expandpath' differ in signedness [-Wpointer-sign] if(!expandpath(temp,LevelsName,i)) ^~~~ scav.c:257:5: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int expandpath(char *put,char *name,int num) ^~~~~~~~~~ scav.c:1588:22: warning: pointer targets in passing argument 1 of 'dupfile' differ in signedness [-Wpointer-sign] err=dupfile(temp,resourcename); ^~~~ scav.c:1484:5: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int dupfile(char *src, char *dest) ^~~~~~~ scav.c:1594:15: warning: pointer targets in passing argument 1 of 'makercname' differ in signedness [-Wpointer-sign] makercname(temp); ^~~~ In file included from scav.c:6: scav.h:485:13: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} extern void makercname (char *str); ^~~~~~~~~~ scav.c:1595:14: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] file=open(temp,O_RDONLY|O_BINARY); ^~~~ In file included from /usr/include/fcntl.h:313, from scav.h:32, from scav.c:6: /usr/include/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} open (const char *__path, int __oflag, ...) ^~~~ scav.c:1609:22: warning: pointer targets in passing argument 1 of 'makercfile' differ in signedness [-Wpointer-sign] if(!makercfile(temp)) ^~~~ In file included from scav.c:6: scav.h:486:12: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} extern int makercfile(char *str); ^~~~~~~~~~ scav.c: In function 'main': scav.c:1864:7: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] err=getenv(ENVUSER); ^ scav.c:1866:15: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(playername,err,16); ^~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from scav.c:6: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ scav.c:1866:26: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(playername,err,16); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from scav.c:6: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ scav.c:1868:14: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(playername,"anonymous"); ^~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from scav.c:6: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ scav.c:1869:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(temp,"%s/%s/%s",localname,localdirname,PLAYERNAME); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from scav.c:6: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ scav.c:1870:14: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] file=open(temp,O_RDONLY); ^~~~ In file included from /usr/include/fcntl.h:313, from scav.h:32, from scav.c:6: /usr/include/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} open (const char *__path, int __oflag, ...) ^~~~ scav.c:1893:15: warning: pointer targets in passing argument 1 of 'puts' differ in signedness [-Wpointer-sign] puts(err); ^~~ In file included from scav.h:28, from scav.c:6: /usr/include/stdio.h:632:12: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} extern int puts (const char *__s); ^~~~ scav.c: In function 'doplayer': scav.c:2189:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(statuswant,"+8000 Flashing "); ^~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from scav.c:6: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ scav.c:2207:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(statuswant,"+10000 Hidden "); ^~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from scav.c:6: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ scav.c: In function 'doenemies': scav.c:2668:30: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(statuswant,"-10000 Trapping"); ^~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from scav.c:6: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ scav.c: In function 'killenemy': scav.c:2776:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(statuswant,"-10000 Killing "); ^~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from scav.c:6: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ scav.c: In function 'paintmode3': scav.c:4:17: warning: pointer targets in passing argument 1 of 'lefttext' differ in signedness [-Wpointer-sign] #define VERSION "SDL Scavenger version 1.4.5.1 (11/05/2010)" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scav.c:4:17: note: in definition of macro 'VERSION' #define VERSION "SDL Scavenger version 1.4.5.1 (11/05/2010)" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scav.c:1010:6: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' void lefttext(uchar *txt) ^~~~~~~~ scav.c:2850:13: warning: pointer targets in passing argument 1 of 'lefttext' differ in signedness [-Wpointer-sign] lefttext(""); ^~ scav.c:1010:6: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' void lefttext(uchar *txt) ^~~~~~~~ scav.c:2851:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(ttt,"PLAYER:%s",playername); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from scav.c:6: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ scav.c:2853:13: warning: pointer targets in passing argument 1 of 'lefttext' differ in signedness [-Wpointer-sign] lefttext(""); ^~ scav.c:1010:6: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' void lefttext(uchar *txt) ^~~~~~~~ scav.c:2854:13: warning: pointer targets in passing argument 1 of 'lefttext' differ in signedness [-Wpointer-sign] lefttext("SPACE START GAME AT FIRST UNSOLVED LEVEL"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scav.c:1010:6: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' void lefttext(uchar *txt) ^~~~~~~~ scav.c:2855:13: warning: pointer targets in passing argument 1 of 'lefttext' differ in signedness [-Wpointer-sign] lefttext("F2 GRAPHICS EDITOR"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ scav.c:1010:6: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' void lefttext(uchar *txt) ^~~~~~~~ scav.c:2856:13: warning: pointer targets in passing argument 1 of 'lefttext' differ in signedness [-Wpointer-sign] lefttext("F3 LEVEL EDITOR"); ^~~~~~~~~~~~~~~~~~~~~~~~ scav.c:1010:6: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' void lefttext(uchar *txt) ^~~~~~~~ scav.c:2857:13: warning: pointer targets in passing argument 1 of 'lefttext' differ in signedness [-Wpointer-sign] lefttext("F4 PLAY LEVEL 1, OR -L LEVEL"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scav.c:1010:6: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' void lefttext(uchar *txt) ^~~~~~~~ scav.c:2858:13: warning: pointer targets in passing argument 1 of 'lefttext' differ in signedness [-Wpointer-sign] lefttext("F5 CHANGE PLAYER NAME"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scav.c:1010:6: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' void lefttext(uchar *txt) ^~~~~~~~ scav.c:2859:13: warning: pointer targets in passing argument 1 of 'lefttext' differ in signedness [-Wpointer-sign] lefttext("KP_MINUS GO TO PREVIOUS LEVEL"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scav.c:1010:6: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' void lefttext(uchar *txt) ^~~~~~~~ scav.c:2860:13: warning: pointer targets in passing argument 1 of 'lefttext' differ in signedness [-Wpointer-sign] lefttext("KP_PLUS GO TO NEXT LEVEL"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ scav.c:1010:6: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' void lefttext(uchar *txt) ^~~~~~~~ scav.c:2861:13: warning: pointer targets in passing argument 1 of 'lefttext' differ in signedness [-Wpointer-sign] lefttext("F10 REMAP MOVEMENT KEYS"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scav.c:1010:6: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' void lefttext(uchar *txt) ^~~~~~~~ scav.c:2862:13: warning: pointer targets in passing argument 1 of 'lefttext' differ in signedness [-Wpointer-sign] lefttext("ESC TOGGLE DEMO/PLAY MODES"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scav.c:1010:6: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' void lefttext(uchar *txt) ^~~~~~~~ scav.c:2863:13: warning: pointer targets in passing argument 1 of 'lefttext' differ in signedness [-Wpointer-sign] lefttext("F TOGGLE FULLSCREEN MODE"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scav.c:1010:6: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' void lefttext(uchar *txt) ^~~~~~~~ scav.c:2864:13: warning: pointer targets in passing argument 1 of 'lefttext' differ in signedness [-Wpointer-sign] lefttext("ALT-X EXIT GAME"); ^~~~~~~~~~~~~~~~~~~~~ scav.c:1010:6: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' void lefttext(uchar *txt) ^~~~~~~~ scav.c: In function 'query': scav.c:2885:11: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(ttt,str); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from scav.c:6: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ scav.c:2885:15: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(ttt,str); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from scav.c:6: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ scav.c:2886:13: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] k=strlen(ttt); ^~~ In file included from scav.h:33, from scav.c:6: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ scav.c:2887:11: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(ttt,txt); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from scav.c:6: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^~~~~ scav.c:2887:15: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(ttt,txt); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from scav.c:6: /usr/include/bits/string_fortified.h:126:1: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^~~~~ scav.c:2888:13: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] j=strlen(txt); ^~~ In file included from scav.h:33, from scav.c:6: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ scav.c:2894:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(ttt2,"%s~ ",ttt); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from scav.c:6: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ scav.c:2953:14: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(txt,ttt+k); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from scav.c:6: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ scav.c:2953:21: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(txt,ttt+k); ~~~^~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from scav.c:6: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ scav.c:2954:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(ttt2,"%-72s",""); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from scav.c:6: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ scav.c: In function 'remapkey': scav.c:2965:13: warning: pointer targets in passing argument 1 of 'texthere' differ in signedness [-Wpointer-sign] texthere(ttt); ^~~ scav.c:1000:6: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' void texthere(uchar *txt) /* uses global vars ptx and pty for position */ ^~~~~~~~ scav.c:2979:13: warning: pointer targets in passing argument 1 of 'texthere' differ in signedness [-Wpointer-sign] texthere(ttt); ^~~ scav.c:1000:6: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' void texthere(uchar *txt) /* uses global vars ptx and pty for position */ ^~~~~~~~ scav.c: In function 'remapkeys': scav.c:2997:13: warning: pointer targets in passing argument 1 of 'texthere' differ in signedness [-Wpointer-sign] texthere("Remapping keys, press Escape to cancel"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scav.c:1000:6: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' void texthere(uchar *txt) /* uses global vars ptx and pty for position */ ^~~~~~~~ scav.c:3007:18: warning: pointer targets in passing argument 1 of 'makercname' differ in signedness [-Wpointer-sign] makercname(temp); /* no cancel save changes */ ^~~~ scav.c:1617:6: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} void makercname(char *str) ^~~~~~~~~~ scav.c:3008:18: warning: pointer targets in passing argument 1 of 'makercfile' differ in signedness [-Wpointer-sign] makercfile(temp); ^~~~ scav.c:1622:5: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int makercfile(char *str) ^~~~~~~~~~ scav.c: In function 'getplayername': scav.c:3023:24: warning: pointer targets in passing argument 3 of 'query' differ in signedness [-Wpointer-sign] query(playername,16,"Enter name:"); ^~~~~~~~~~~~~ scav.c:2875:6: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' void query(uchar *txt, int maxlen, uchar *str) ^~~~~ scav.c: In function 'findlevel': scav.c:3034:41: warning: pointer targets in passing argument 2 of 'getresource' differ in signedness [-Wpointer-sign] err=getresource(1+((clevel-1)<<1),movie,20); ^~~~~ scav.c:398:5: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int getresource(int num,char *put,int len) ^~~~~~~~~~~ scav.c: In function 'mode3': scav.c:3075:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(temp,"%s/%s/%s",localname,localdirname,PLAYERNAME); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from scav.c:6: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ scav.c:3076:17: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] file=open(temp,O_WRONLY|O_CREAT|O_TRUNC|O_BINARY,0600); ^~~~ In file included from /usr/include/fcntl.h:313, from scav.h:32, from scav.c:6: /usr/include/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} open (const char *__path, int __oflag, ...) ^~~~ scav.c: In function 'mode0': scav.c:3107:43: warning: pointer targets in passing argument 2 of 'getresource' differ in signedness [-Wpointer-sign] getresource (1 + ((clevel-1) << 1), movie, MOVIEMAX+20); ^~~~~ scav.c:398:5: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int getresource(int num,char *put,int len) ^~~~~~~~~~~ scav.c: In function 'capturescreen': scav.c:3248:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(name,"cap%03d.lbm",i++); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from scav.h:27, from scav.c:6: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ scav.c:3249:17: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] file=open(name,O_RDONLY); ^~~~ In file included from /usr/include/fcntl.h:313, from scav.h:32, from scav.c:6: /usr/include/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} open (const char *__path, int __oflag, ...) ^~~~ scav.c: In function 'eprintf': scav.c:1526:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(ehand,buff,strlen(buff)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scav.c: In function 'main': scav.c:1873:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(file,playername,16); ^~~~~~~~~~~~~~~~~~~~~~~~ scav.c: In function 'mode3': scav.c:3080:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(file,playername,16); ^~~~~~~~~~~~~~~~~~~~~~~~~ scav.c: In function 'maketext': scav.c:916:79: warning: ' ' directive writing 1 byte into a region of size between 0 and 2 [-Wformat-overflow=] sprintf(topwant,"LEVEL %04d %-18s SCORE-TIME %05d-%04d BEST %05d-%04d.%02d ",clevel,bestname,score,totalPlaySeconds,bestscore,besttime,(bestPlayCycles % 60)); ^ In file included from /usr/include/stdio.h:862, from scav.h:28, from scav.c:6: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 73 and 108 bytes into a destination of size 73 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scav.c: In function 'getconfig': scav.c:1405:22: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] sprintf(name2,"%s/%s/%s",localname,localdirname,rcname); ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from scav.h:28, from scav.c:6: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 768 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scav.c: In function 'finddata': scav.c:1574:29: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] sprintf(resourcename,"%s/%s/%s",localname,localdirname,LevelsName); ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from scav.h:28, from scav.c:6: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 532 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scav.c:1575:27: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] sprintf(newresname,"%s/%s/%s",localname,localdirname,NEWLEVELSNAME); ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from scav.h:28, from scav.c:6: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 13 and 523 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scav.c: In function 'query': scav.c:2894:26: warning: '~ ' directive writing 2 bytes into a region of size between 1 and 80 [-Wformat-overflow=] sprintf(ttt2,"%s~ ",ttt); ^~ In file included from /usr/include/stdio.h:862, from scav.h:28, from scav.c:6: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 82 bytes into a destination of size 80 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scav.c: In function 'capturescreen': scav.c:3248:28: warning: '.lbm' directive writing 4 bytes into a region of size between 3 and 10 [-Wformat-overflow=] sprintf(name,"cap%03d.lbm",i++); ^~~~ In file included from /usr/include/stdio.h:862, from scav.h:28, from scav.c:6: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 11 and 18 bytes into a destination of size 16 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/sdlscav-145.1_2010_11_5' make: Entering directory '/usr/src/RPM/BUILD/sdlscav-145.1_2010_11_5' gcc -o sdlscav scav.o gfx.o sound.o edit.o anim.o `sdl-config --libs` install -m 0755 -d $HOME/.scavenger install -m 0644 data/*rc $HOME/.scavenger make: Leaving directory '/usr/src/RPM/BUILD/sdlscav-145.1_2010_11_5' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.25004 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/sdlscav-buildroot + : + /bin/rm -rf -- /usr/src/tmp/sdlscav-buildroot + cd sdlscav-145.1_2010_11_5 + mkdir -p /usr/src/tmp/sdlscav-buildroot/usr/games /usr/src/tmp/sdlscav-buildroot/usr/share/games/sdlscav + install -m 0755 sdlscav /usr/src/tmp/sdlscav-buildroot/usr/games/ + for f in data/* + install -m 0644 data/badguy.lbm /usr/src/tmp/sdlscav-buildroot/usr/share/games/sdlscav/ + for f in data/* + install -m 0644 data/brownblue.lbm /usr/src/tmp/sdlscav-buildroot/usr/share/games/sdlscav/ + for f in data/* + install -m 0644 data/death.raw /usr/src/tmp/sdlscav-buildroot/usr/share/games/sdlscav/ + for f in data/* + install -m 0644 data/death.wav /usr/src/tmp/sdlscav-buildroot/usr/share/games/sdlscav/ + for f in data/* + install -m 0644 data/devil.xpm /usr/src/tmp/sdlscav-buildroot/usr/share/games/sdlscav/ + for f in data/* + install -m 0644 data/dig.raw /usr/src/tmp/sdlscav-buildroot/usr/share/games/sdlscav/ + for f in data/* + install -m 0644 data/dig.wav /usr/src/tmp/sdlscav-buildroot/usr/share/games/sdlscav/ + for f in data/* + install -m 0644 data/fall.raw /usr/src/tmp/sdlscav-buildroot/usr/share/games/sdlscav/ + for f in data/* + install -m 0644 data/fall.wav /usr/src/tmp/sdlscav-buildroot/usr/share/games/sdlscav/ + for f in data/* + install -m 0644 data/highrc /usr/src/tmp/sdlscav-buildroot/usr/share/games/sdlscav/ + for f in data/* + install -m 0644 data/highstreet.lbm /usr/src/tmp/sdlscav-buildroot/usr/share/games/sdlscav/ + for f in data/* + install -m 0644 data/leprechaun.lbm /usr/src/tmp/sdlscav-buildroot/usr/share/games/sdlscav/ + for f in data/* + install -m 0644 data/levels.scl /usr/src/tmp/sdlscav-buildroot/usr/share/games/sdlscav/ + for f in data/* + install -m 0644 data/masters.scl /usr/src/tmp/sdlscav-buildroot/usr/share/games/sdlscav/ + for f in data/* + install -m 0644 data/microman.lbm /usr/src/tmp/sdlscav-buildroot/usr/share/games/sdlscav/ + for f in data/* + install -m 0644 data/microman.xpm /usr/src/tmp/sdlscav-buildroot/usr/share/games/sdlscav/ + for f in data/* + install -m 0644 data/micromanrc /usr/src/tmp/sdlscav-buildroot/usr/share/games/sdlscav/ + for f in data/* + install -m 0644 data/pop.raw /usr/src/tmp/sdlscav-buildroot/usr/share/games/sdlscav/ + for f in data/* + install -m 0644 data/pop.wav /usr/src/tmp/sdlscav-buildroot/usr/share/games/sdlscav/ + for f in data/* + install -m 0644 data/redbrick.lbm /usr/src/tmp/sdlscav-buildroot/usr/share/games/sdlscav/ + for f in data/* + install -m 0644 data/reddevil.lbm /usr/src/tmp/sdlscav-buildroot/usr/share/games/sdlscav/ + for f in data/* + install -m 0644 data/reddevilrc /usr/src/tmp/sdlscav-buildroot/usr/share/games/sdlscav/ + for f in data/* + install -m 0644 data/regulargui.lbm /usr/src/tmp/sdlscav-buildroot/usr/share/games/sdlscav/ + for f in data/* + install -m 0644 data/scav.bmp /usr/src/tmp/sdlscav-buildroot/usr/share/games/sdlscav/ + for f in data/* + install -m 0644 data/scav.png /usr/src/tmp/sdlscav-buildroot/usr/share/games/sdlscav/ + for f in data/* + install -m 0644 data/scav.xpm /usr/src/tmp/sdlscav-buildroot/usr/share/games/sdlscav/ + for f in data/* + install -m 0644 data/scavrc /usr/src/tmp/sdlscav-buildroot/usr/share/games/sdlscav/ + for f in data/* + install -m 0644 data/shamrc /usr/src/tmp/sdlscav-buildroot/usr/share/games/sdlscav/ + for f in data/* + install -m 0644 data/shamrock.lbm /usr/src/tmp/sdlscav-buildroot/usr/share/games/sdlscav/ + for f in data/* + install -m 0644 data/shamrock.xpm /usr/src/tmp/sdlscav-buildroot/usr/share/games/sdlscav/ + for f in data/* + install -m 0644 data/spiral.lbm /usr/src/tmp/sdlscav-buildroot/usr/share/games/sdlscav/ + for f in data/* + install -m 0644 data/spiralthing.lbm /usr/src/tmp/sdlscav-buildroot/usr/share/games/sdlscav/ + for f in data/* + install -m 0644 data/victory.raw /usr/src/tmp/sdlscav-buildroot/usr/share/games/sdlscav/ + for f in data/* + install -m 0644 data/victory.wav /usr/src/tmp/sdlscav-buildroot/usr/share/games/sdlscav/ + mkdir -p /usr/src/tmp/sdlscav-buildroot//usr/share/applications/ + cat + mkdir -p /usr/src/tmp/sdlscav-buildroot/usr/share/icons/hicolor/16x16/apps + mkdir -p /usr/src/tmp/sdlscav-buildroot/usr/share/icons/hicolor/32x32/apps + mkdir -p /usr/src/tmp/sdlscav-buildroot/usr/share/icons/hicolor/48x48/apps + install -m 0644 /usr/src/RPM/SOURCES/sdlscav.16.xpm /usr/src/tmp/sdlscav-buildroot/usr/share/icons/hicolor/16x16/apps/sdlscav.xpm + install -m 0644 /usr/src/RPM/SOURCES/sdlscav.32.xpm /usr/src/tmp/sdlscav-buildroot/usr/share/icons/hicolor/32x32/apps/sdlscav.xpm + install -m 0644 /usr/src/RPM/SOURCES/sdlscav.48.xpm /usr/src/tmp/sdlscav-buildroot/usr/share/icons/hicolor/48x48/apps/sdlscav.xpm + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/sdlscav-buildroot (auto) Verifying and fixing files in /usr/src/tmp/sdlscav-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/sdlscav-buildroot/ (default) Compressing files in /usr/src/tmp/sdlscav-buildroot (auto) Verifying ELF objects in /usr/src/tmp/sdlscav-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/games/sdlscav: uses non-LFS functions: __xstat fopen lseek open Hardlinking identical .pyc and .pyo files Processing files: sdlscav-145.1_2010_11_5-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.25004 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd sdlscav-145.1_2010_11_5 + DOCDIR=/usr/src/tmp/sdlscav-buildroot/usr/share/doc/sdlscav-145.1_2010_11_5 + export DOCDIR + rm -rf /usr/src/tmp/sdlscav-buildroot/usr/share/doc/sdlscav-145.1_2010_11_5 + /bin/mkdir -p /usr/src/tmp/sdlscav-buildroot/usr/share/doc/sdlscav-145.1_2010_11_5 + cp -prL README DOC /usr/src/tmp/sdlscav-buildroot/usr/share/doc/sdlscav-145.1_2010_11_5 + chmod -R go-w /usr/src/tmp/sdlscav-buildroot/usr/share/doc/sdlscav-145.1_2010_11_5 + chmod -R a+rX /usr/src/tmp/sdlscav-buildroot/usr/share/doc/sdlscav-145.1_2010_11_5 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.i9D9bq find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.JB2OjW find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Requires: /lib/ld-linux.so.2, libSDL-1.2.so.0 >= set:lf0Ks293MufxAYLUtDucyvw9xO6OfEPVZIPGIizUupTckK56Y0I3PO2X6X2mQFP1j6iDiqATnfIoX1nlaf1, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libpthread.so.0(GLIBC_2.0), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.JPl0MG Creating sdlscav-debuginfo package Processing files: sdlscav-debuginfo-145.1_2010_11_5-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.O3XftH find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.zO7gFN find-requires: running scripts (debuginfo) Requires: sdlscav = 145.1_2010_11_5-alt1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libSDL-1.2.so.0), debug(libc.so.6), debug(libpthread.so.0) Wrote: /usr/src/RPM/RPMS/i586/sdlscav-145.1_2010_11_5-alt1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/sdlscav-debuginfo-145.1_2010_11_5-alt1.i586.rpm 4.75user 0.55system 0:08.80elapsed 60%CPU (0avgtext+0avgdata 41848maxresident)k 0inputs+0outputs (0major+206463minor)pagefaults 0swaps 10.29user 2.97system 0:17.13elapsed 77%CPU (0avgtext+0avgdata 115480maxresident)k 0inputs+0outputs (0major+515765minor)pagefaults 0swaps