<86>Feb 1 08:16:32 userdel[340475]: delete user 'rooter' <86>Feb 1 08:16:32 userdel[340475]: removed group 'rooter' owned by 'rooter' <86>Feb 1 08:16:32 userdel[340475]: removed shadow group 'rooter' owned by 'rooter' <86>Feb 1 08:16:32 groupadd[340491]: group added to /etc/group: name=rooter, GID=648 <86>Feb 1 08:16:32 groupadd[340491]: group added to /etc/gshadow: name=rooter <86>Feb 1 08:16:32 groupadd[340491]: new group: name=rooter, GID=648 <86>Feb 1 08:16:32 useradd[340502]: new user: name=rooter, UID=648, GID=648, home=/root, shell=/bin/bash <86>Feb 1 08:16:32 userdel[340510]: delete user 'builder' <86>Feb 1 08:16:32 userdel[340510]: removed group 'builder' owned by 'builder' <86>Feb 1 08:16:32 userdel[340510]: removed shadow group 'builder' owned by 'builder' <86>Feb 1 08:16:32 groupadd[340519]: group added to /etc/group: name=builder, GID=649 <86>Feb 1 08:16:32 groupadd[340519]: group added to /etc/gshadow: name=builder <86>Feb 1 08:16:32 groupadd[340519]: new group: name=builder, GID=649 <86>Feb 1 08:16:32 useradd[340527]: new user: name=builder, UID=649, GID=649, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/sdlscav-145.1_2010_11_5-alt1.src.rpm: The use of such a license name is ambiguous: GPL <13>Feb 1 08:16:35 rpmi: libglvnd-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Feb 1 08:16:35 rpmi: libogg-1.3.4-alt1 sisyphus+247109.100.1.1 1582849994 installed <13>Feb 1 08:16:35 rpmi: xorg-proto-devel-2020.1-alt1 sisyphus+250406.100.1.1 1587554810 installed <13>Feb 1 08:16:36 rpmi: libexpat-2.2.10-alt1 sisyphus+259966.100.1.1 1602824518 installed <13>Feb 1 08:16:36 rpmi: libwayland-server-1.19.0-alt1 sisyphus+265427.100.1.1 1611852858 installed <13>Feb 1 08:16:36 rpmi: libflac8-1.3.3.0.62.ce6d-alt1 sisyphus+262142.100.1.1 1605801639 installed <13>Feb 1 08:16:36 rpmi: libvorbis-1.3.7-alt1 sisyphus+256535.100.1.1 1597965510 installed <13>Feb 1 08:16:36 rpmi: libGLES-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Feb 1 08:16:36 rpmi: libOpenGL-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Feb 1 08:16:36 rpmi: libopus-1.3.1-alt3 sisyphus+248017.100.1.1 1584520433 installed <13>Feb 1 08:16:36 rpmi: libgsm-1.0.17-alt1 1523356165 installed <13>Feb 1 08:16:36 rpmi: libsndfile-1.0.30-alt2 sisyphus+263035.100.1.1 1607353107 installed <13>Feb 1 08:16:36 rpmi: liblz4-1:1.9.3-alt1 sisyphus+262305.100.1.1 1606099167 installed <13>Feb 1 08:16:36 rpmi: libgpg-error-1.41-alt4 sisyphus+264254.200.1.1 1609440111 installed <13>Feb 1 08:16:36 rpmi: libgcrypt20-1.9.1-alt1 sisyphus+265464.100.1.1 1611920829 installed <13>Feb 1 08:16:36 rpmi: libsystemd-1:247.2-alt1 sisyphus+263562.100.1.1 1608152006 installed <13>Feb 1 08:16:36 rpmi: libdbus-1.12.18-alt1 sisyphus+252758.100.1.1 1591203693 installed <13>Feb 1 08:16:36 rpmi: libasyncns-0.8-alt2.qa1 1365949820 installed <13>Feb 1 08:16:36 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268571 installed <13>Feb 1 08:16:36 rpmi: libX11-locales-3:1.7.0-alt1 sisyphus+264667.100.1.2 1610655150 installed <13>Feb 1 08:16:36 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949353 installed <13>Feb 1 08:16:36 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Feb 1 08:16:36 rpmi: libxcb-1.14-alt1 sisyphus+247358.200.1.3 1583854228 installed <13>Feb 1 08:16:36 rpmi: libX11-3:1.7.0-alt1 sisyphus+264667.100.1.2 1610655170 installed <13>Feb 1 08:16:36 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed <13>Feb 1 08:16:36 rpmi: libXxf86vm-1.1.4-alt2 1527672187 installed <13>Feb 1 08:16:36 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949286 installed <13>Feb 1 08:16:36 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614841 installed <13>Feb 1 08:16:36 rpmi: libXrender-0.9.10-alt1 sisyphus+261890.100.1.1 1605595177 installed <13>Feb 1 08:16:36 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949710 installed <13>Feb 1 08:16:39 rpmi: libxcb-devel-1.14-alt1 sisyphus+247358.200.1.3 1583854228 installed <13>Feb 1 08:16:39 rpmi: libX11-devel-3:1.7.0-alt1 sisyphus+264667.100.1.2 1610655170 installed <13>Feb 1 08:16:39 rpmi: libpulseaudio-14.0-alt1 sisyphus+262419.100.1.1 1606232676 installed <13>Feb 1 08:16:39 rpmi: libwayland-client-1.19.0-alt1 sisyphus+265427.100.1.1 1611852858 installed <13>Feb 1 08:16:39 rpmi: libpciaccess-1:0.16-alt1 sisyphus+234814.100.1.1 1563438291 installed <13>Feb 1 08:16:39 rpmi: libdrm-1:2.4.104-alt1 sisyphus+264662.100.1.1 1610612753 installed <13>Feb 1 08:16:39 rpmi: libGLX-mesa-4:20.3.3-alt1 sisyphus+264662.200.1.1 1610613074 installed <13>Feb 1 08:16:39 rpmi: libGLX-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Feb 1 08:16:39 rpmi: libGL-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Feb 1 08:16:39 rpmi: libGLU-4:9.0.1-alt1 sisyphus+248864.100.1.1 1585556461 installed <13>Feb 1 08:16:39 rpmi: libgbm-4:20.3.3-alt1 sisyphus+264662.200.1.1 1610613074 installed <13>Feb 1 08:16:39 rpmi: libEGL-mesa-4:20.3.3-alt1 sisyphus+264662.200.1.1 1610613074 installed <13>Feb 1 08:16:39 rpmi: libEGL-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Feb 1 08:16:39 rpmi: libglvnd-devel-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Feb 1 08:16:39 rpmi: libGLU-devel-4:9.0.1-alt1 sisyphus+248864.100.1.1 1585556461 installed <13>Feb 1 08:16:39 rpmi: alsa-ucm-conf-1.2.4-alt1 sisyphus+260180.200.1.1 1603282405 installed <13>Feb 1 08:16:39 rpmi: alsa-topology-conf-1.2.4-alt1 sisyphus+260180.100.1.1 1603282384 installed <13>Feb 1 08:16:39 rpmi: libalsa-1:1.2.4-alt1 sisyphus+260180.300.1.1 1603282509 installed <13>Feb 1 08:16:39 rpmi: libSDL-1.2.14-alt9 sisyphus+261262.100.1.1 1604829363 installed <13>Feb 1 08:16:39 rpmi: libSDL-devel-1.2.14-alt9 sisyphus+261262.100.1.1 1604829363 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/sdlscav-145.1_2010_11_5-alt1.nosrc.rpm (w1.gzdio) 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.22211 + 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.22211 + 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] 61 | 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] 63 | 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] 67 | 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] 72 | 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] 77 | 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] 82 | 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] 85 | 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] 94 | 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] 251 | centermsg("Save or load before changing levels"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from scav.h:50, from edit.c:5: edit.h:25:30: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 25 | extern void centermsg(uchar *from); | ~~~~~~~^~~~ edit.c:268:20: warning: pointer targets in passing argument 1 of 'centermsg' differ in signedness [-Wpointer-sign] 268 | centermsg("Save or load before changing levels"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from scav.h:50, from edit.c:5: edit.h:25:30: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 25 | extern void centermsg(uchar *from); | ~~~~~~~^~~~ edit.c:288:14: warning: pointer targets in passing argument 1 of 'centermsg' differ in signedness [-Wpointer-sign] 288 | centermsg("use alt-l to load over modified level"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from scav.h:50, from edit.c:5: edit.h:25:30: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 25 | extern void centermsg(uchar *from); | ~~~~~~~^~~~ edit.c:310:15: warning: pointer targets in passing argument 1 of 'centermsg' differ in signedness [-Wpointer-sign] 310 | centermsg("cannot write level 0"); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from scav.h:50, from edit.c:5: edit.h:25:30: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 25 | extern void centermsg(uchar *from); | ~~~~~~~^~~~ edit.c:315:35: warning: pointer targets in passing argument 2 of 'getresource' differ in signedness [-Wpointer-sign] 315 | got=getresource((clevel-1)<<1,buff,16); | ^~~~ | | | uchar * {aka unsigned char *} In file included from edit.c:5: scav.h:446:38: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 446 | 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] 319 | centermsg("use alt-w to overwrite existing level"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from scav.h:50, from edit.c:5: edit.h:25:30: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 25 | extern void centermsg(uchar *from); | ~~~~~~~^~~~ edit.c:337:16: warning: pointer targets in passing argument 1 of 'centermsg' differ in signedness [-Wpointer-sign] 337 | centermsg("could not write level"); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from scav.h:50, from edit.c:5: edit.h:25:30: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 25 | extern void centermsg(uchar *from); | ~~~~~~~^~~~ edit.c:339:16: warning: pointer targets in passing argument 1 of 'centermsg' differ in signedness [-Wpointer-sign] 339 | centermsg("could not delete movie"); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from scav.h:50, from edit.c:5: edit.h:25:30: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 25 | extern void centermsg(uchar *from); | ~~~~~~~^~~~ edit.c:341:16: warning: pointer targets in passing argument 1 of 'centermsg' differ in signedness [-Wpointer-sign] 341 | centermsg("level saved"); | ^~~~~~~~~~~~~ | | | char * In file included from scav.h:50, from edit.c:5: edit.h:25:30: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 25 | 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] 371 | i=strlen(from); | ^~~~ | | | uchar * {aka unsigned char *} In file included from scav.h:33, from edit.c:5: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 391 | 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] 384 | sprintf(temp,"LEVEL %04d L=LOAD W=WRITE ESC=EXIT 0-9 CHANGE LEVEL KP +- UP/DN LEVEL",clevel); | ^~~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:36:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 36 | __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] 385 | i=strlen(temp); | ^~~~ | | | uchar * {aka unsigned char *} In file included from scav.h:33, from edit.c:5: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 391 | 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] 393 | strcpy(ewant,einfo()); | ^~~~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:73:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 73 | __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] 393 | strcpy(ewant,einfo()); | ^~~~~~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:73:1: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 73 | __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] 395 | writestring("F1 - F12 ->",30,457,whitecolor); | ^~~~~~~~~~~~~ | | | char * In file included from edit.c:5: scav.h:455:32: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 455 | 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] 57 | if(!expandpath(temp,"scav.bmp",i)) | ^~~~ | | | uchar * {aka unsigned char *} In file included from gfx.c:5: scav.h:535:29: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 535 | 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] 62 | if ( open(temp,O_RDONLY|O_BINARY)!=-1 ) | ^~~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/fcntl.h:329, from scav.h:32, from gfx.c:5: /usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 41 | 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] 68 | SDL_WM_SetIcon(SDL_LoadBMP(temp), NULL); | ^~~~ | | | uchar * {aka unsigned char *} /usr/include/SDL/SDL_video.h:592:57: note: in definition of macro 'SDL_LoadBMP' 592 | #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:64: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 99 | 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] 159 | 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] 77 | farlefttext("ESCAPE EXIT ANIMATOR"); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * anim.c:60:25: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 60 | void farlefttext(uchar *txt) | ~~~~~~~^~~ anim.c:78:16: warning: pointer targets in passing argument 1 of 'farlefttext' differ in signedness [-Wpointer-sign] 78 | farlefttext("SHIFT S SAVE CHANGES"); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * anim.c:60:25: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 60 | void farlefttext(uchar *txt) | ~~~~~~~^~~ anim.c:79:16: warning: pointer targets in passing argument 1 of 'farlefttext' differ in signedness [-Wpointer-sign] 79 | farlefttext("SHIFT L RELOAD LAST SAVE"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * anim.c:60:25: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 60 | void farlefttext(uchar *txt) | ~~~~~~~^~~ anim.c:80:16: warning: pointer targets in passing argument 1 of 'farlefttext' differ in signedness [-Wpointer-sign] 80 | farlefttext(" ALT 1 FIXTURES"); | ^~~~~~~~~~~~~~~~~~~ | | | char * anim.c:60:25: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 60 | void farlefttext(uchar *txt) | ~~~~~~~^~~ anim.c:81:16: warning: pointer targets in passing argument 1 of 'farlefttext' differ in signedness [-Wpointer-sign] 81 | farlefttext(" ALT 2 HERO POSES"); | ^~~~~~~~~~~~~~~~~~~~~ | | | char * anim.c:60:25: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 60 | void farlefttext(uchar *txt) | ~~~~~~~^~~ anim.c:82:16: warning: pointer targets in passing argument 1 of 'farlefttext' differ in signedness [-Wpointer-sign] 82 | farlefttext(" ALT 3 ENEMY POSES"); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * anim.c:60:25: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 60 | void farlefttext(uchar *txt) | ~~~~~~~^~~ anim.c:83:16: warning: pointer targets in passing argument 1 of 'farlefttext' differ in signedness [-Wpointer-sign] 83 | farlefttext(" ALT 4 HIDDEN POSES"); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * anim.c:60:25: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 60 | void farlefttext(uchar *txt) | ~~~~~~~^~~ anim.c:84:16: warning: pointer targets in passing argument 1 of 'farlefttext' differ in signedness [-Wpointer-sign] 84 | farlefttext(" U UNDO LAST EDIT"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * anim.c:60:25: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 60 | void farlefttext(uchar *txt) | ~~~~~~~^~~ anim.c:85:16: warning: pointer targets in passing argument 1 of 'farlefttext' differ in signedness [-Wpointer-sign] 85 | farlefttext(" X MIRROR X"); | ^~~~~~~~~~~~~~~~~~~ | | | char * anim.c:60:25: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 60 | void farlefttext(uchar *txt) | ~~~~~~~^~~ anim.c:86:16: warning: pointer targets in passing argument 1 of 'farlefttext' differ in signedness [-Wpointer-sign] 86 | farlefttext(" Y MIRROR Y"); | ^~~~~~~~~~~~~~~~~~~ | | | char * anim.c:60:25: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 60 | void farlefttext(uchar *txt) | ~~~~~~~^~~ anim.c:87:16: warning: pointer targets in passing argument 1 of 'farlefttext' differ in signedness [-Wpointer-sign] 87 | farlefttext(" Z ROTATE 90 CW"); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * anim.c:60:25: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 60 | void farlefttext(uchar *txt) | ~~~~~~~^~~ anim.c:88:16: warning: pointer targets in passing argument 1 of 'farlefttext' differ in signedness [-Wpointer-sign] 88 | farlefttext("D F B R DRAW,FILL,BOX,RECT"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * anim.c:60:25: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 60 | void farlefttext(uchar *txt) | ~~~~~~~^~~ anim.c:89:16: warning: pointer targets in passing argument 1 of 'farlefttext' differ in signedness [-Wpointer-sign] 89 | farlefttext(", . L GET COLOR,DOT,LINE"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * anim.c:60:25: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 60 | void farlefttext(uchar *txt) | ~~~~~~~^~~ anim.c:92:13: warning: pointer targets in passing argument 1 of 'texthere' differ in signedness [-Wpointer-sign] 92 | texthere("R G B"); | ^~~~~~~ | | | char * In file included from anim.c:5: scav.h:465:29: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 465 | 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] 127 | getsquare(asquare,animbox); | ^~~~~~~ | | | uchar * {aka unsigned char *} In file included from scav.h:49, from anim.c:5: anim.h:22:29: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 22 | 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] 312 | copysquare(temp,userbrush); | ^~~~ | | | uchar * {aka unsigned char *} anim.c:302:23: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 302 | void copysquare(char *dest,char *source) | ~~~~~~^~~~ anim.c:312:18: warning: pointer targets in passing argument 2 of 'copysquare' differ in signedness [-Wpointer-sign] 312 | copysquare(temp,userbrush); | ^~~~~~~~~ | | | uchar * {aka unsigned char *} anim.c:302:34: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 302 | 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] 704 | if(where==BLOWUP) copysquare(savesquare,asquare); | ^~~~~~~~~~ | | | uchar * {aka unsigned char *} anim.c:302:23: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 302 | void copysquare(char *dest,char *source) | ~~~~~~^~~~ anim.c:704:43: warning: pointer targets in passing argument 2 of 'copysquare' differ in signedness [-Wpointer-sign] 704 | if(where==BLOWUP) copysquare(savesquare,asquare); | ^~~~~~~ | | | uchar * {aka unsigned char *} anim.c:302:34: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 302 | void copysquare(char *dest,char *source) | ~~~~~~^~~~~~ anim.c:720:16: warning: pointer targets in passing argument 1 of 'copysquare' differ in signedness [-Wpointer-sign] 720 | copysquare(tsquare2,asquare); | ^~~~~~~~ | | | uchar * {aka unsigned char *} anim.c:302:23: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 302 | void copysquare(char *dest,char *source) | ~~~~~~^~~~ anim.c:720:25: warning: pointer targets in passing argument 2 of 'copysquare' differ in signedness [-Wpointer-sign] 720 | copysquare(tsquare2,asquare); | ^~~~~~~ | | | uchar * {aka unsigned char *} anim.c:302:34: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 302 | void copysquare(char *dest,char *source) | ~~~~~~^~~~~~ anim.c:721:16: warning: pointer targets in passing argument 1 of 'copysquare' differ in signedness [-Wpointer-sign] 721 | copysquare(asquare,savesquare); | ^~~~~~~ | | | uchar * {aka unsigned char *} anim.c:302:23: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 302 | void copysquare(char *dest,char *source) | ~~~~~~^~~~ anim.c:721:24: warning: pointer targets in passing argument 2 of 'copysquare' differ in signedness [-Wpointer-sign] 721 | copysquare(asquare,savesquare); | ^~~~~~~~~~ | | | uchar * {aka unsigned char *} anim.c:302:34: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 302 | void copysquare(char *dest,char *source) | ~~~~~~^~~~~~ anim.c:722:16: warning: pointer targets in passing argument 1 of 'copysquare' differ in signedness [-Wpointer-sign] 722 | copysquare(savesquare,tsquare2); | ^~~~~~~~~~ | | | uchar * {aka unsigned char *} anim.c:302:23: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 302 | void copysquare(char *dest,char *source) | ~~~~~~^~~~ anim.c:722:27: warning: pointer targets in passing argument 2 of 'copysquare' differ in signedness [-Wpointer-sign] 722 | copysquare(savesquare,tsquare2); | ^~~~~~~~ | | | uchar * {aka unsigned char *} anim.c:302:34: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 302 | void copysquare(char *dest,char *source) | ~~~~~~^~~~~~ anim.c:726:16: warning: pointer targets in passing argument 1 of 'copysquare' differ in signedness [-Wpointer-sign] 726 | copysquare(savesquare,asquare); | ^~~~~~~~~~ | | | uchar * {aka unsigned char *} anim.c:302:23: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 302 | void copysquare(char *dest,char *source) | ~~~~~~^~~~ anim.c:726:27: warning: pointer targets in passing argument 2 of 'copysquare' differ in signedness [-Wpointer-sign] 726 | copysquare(savesquare,asquare); | ^~~~~~~ | | | uchar * {aka unsigned char *} anim.c:302:34: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 302 | void copysquare(char *dest,char *source) | ~~~~~~^~~~~~ anim.c:790:14: warning: pointer targets in passing argument 1 of 'getsquare' differ in signedness [-Wpointer-sign] 790 | getsquare(asquare,animbox); | ^~~~~~~ | | | uchar * {aka unsigned char *} anim.c:153:22: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 153 | void getsquare(char *dest,int num) | ~~~~~~^~~~ anim.c:792:15: warning: pointer targets in passing argument 1 of 'copysquare' differ in signedness [-Wpointer-sign] 792 | copysquare(savesquare,asquare); | ^~~~~~~~~~ | | | uchar * {aka unsigned char *} anim.c:302:23: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 302 | void copysquare(char *dest,char *source) | ~~~~~~^~~~ anim.c:792:26: warning: pointer targets in passing argument 2 of 'copysquare' differ in signedness [-Wpointer-sign] 792 | copysquare(savesquare,asquare); | ^~~~~~~ | | | uchar * {aka unsigned char *} anim.c:302:34: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 302 | void copysquare(char *dest,char *source) | ~~~~~~^~~~~~ anim.c:809:14: warning: pointer targets in passing argument 1 of 'getsquare' differ in signedness [-Wpointer-sign] 809 | getsquare(savesquare,animbox); | ^~~~~~~~~~ | | | uchar * {aka unsigned char *} anim.c:153:22: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 153 | void getsquare(char *dest,int num) | ~~~~~~^~~~ anim.c:810:22: warning: pointer targets in passing argument 2 of 'putsquare' differ in signedness [-Wpointer-sign] 810 | putsquare(animbox,asquare); | ^~~~~~~ | | | uchar * {aka unsigned char *} anim.c:168:30: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 168 | void putsquare(int num,char *source) | ~~~~~~^~~~~~ anim.c:842:15: warning: pointer targets in passing argument 1 of 'copysquare' differ in signedness [-Wpointer-sign] 842 | copysquare(asquare,savesquare); | ^~~~~~~ | | | uchar * {aka unsigned char *} anim.c:302:23: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 302 | void copysquare(char *dest,char *source) | ~~~~~~^~~~ anim.c:842:23: warning: pointer targets in passing argument 2 of 'copysquare' differ in signedness [-Wpointer-sign] 842 | copysquare(asquare,savesquare); | ^~~~~~~~~~ | | | uchar * {aka unsigned char *} anim.c:302:34: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 302 | void copysquare(char *dest,char *source) | ~~~~~~^~~~~~ anim.c:847:15: warning: pointer targets in passing argument 1 of 'copysquare' differ in signedness [-Wpointer-sign] 847 | copysquare(asquare,savesquare); | ^~~~~~~ | | | uchar * {aka unsigned char *} anim.c:302:23: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 302 | void copysquare(char *dest,char *source) | ~~~~~~^~~~ anim.c:847:23: warning: pointer targets in passing argument 2 of 'copysquare' differ in signedness [-Wpointer-sign] 847 | copysquare(asquare,savesquare); | ^~~~~~~~~~ | | | uchar * {aka unsigned char *} anim.c:302:34: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 302 | void copysquare(char *dest,char *source) | ~~~~~~^~~~~~ anim.c:856:15: warning: pointer targets in passing argument 1 of 'copysquare' differ in signedness [-Wpointer-sign] 856 | copysquare(tsquare,asquare); | ^~~~~~~ | | | uchar * {aka unsigned char *} anim.c:302:23: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 302 | void copysquare(char *dest,char *source) | ~~~~~~^~~~ anim.c:856:23: warning: pointer targets in passing argument 2 of 'copysquare' differ in signedness [-Wpointer-sign] 856 | copysquare(tsquare,asquare); | ^~~~~~~ | | | uchar * {aka unsigned char *} anim.c:302:34: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 302 | void copysquare(char *dest,char *source) | ~~~~~~^~~~~~ anim.c:867:14: warning: pointer targets in passing argument 1 of 'copysquare' differ in signedness [-Wpointer-sign] 867 | copysquare(tsquare,asquare); | ^~~~~~~ | | | uchar * {aka unsigned char *} anim.c:302:23: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 302 | void copysquare(char *dest,char *source) | ~~~~~~^~~~ anim.c:867:22: warning: pointer targets in passing argument 2 of 'copysquare' differ in signedness [-Wpointer-sign] 867 | copysquare(tsquare,asquare); | ^~~~~~~ | | | uchar * {aka unsigned char *} anim.c:302:34: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 302 | void copysquare(char *dest,char *source) | ~~~~~~^~~~~~ anim.c:876:14: warning: pointer targets in passing argument 1 of 'copysquare' differ in signedness [-Wpointer-sign] 876 | copysquare(tsquare,asquare); | ^~~~~~~ | | | uchar * {aka unsigned char *} anim.c:302:23: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 302 | void copysquare(char *dest,char *source) | ~~~~~~^~~~ anim.c:876:22: warning: pointer targets in passing argument 2 of 'copysquare' differ in signedness [-Wpointer-sign] 876 | copysquare(tsquare,asquare); | ^~~~~~~ | | | uchar * {aka unsigned char *} anim.c:302:34: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 302 | void copysquare(char *dest,char *source) | ~~~~~~^~~~~~ anim.c:896:14: warning: pointer targets in passing argument 1 of 'copysquare' differ in signedness [-Wpointer-sign] 896 | copysquare(tsquare2,asquare); | ^~~~~~~~ | | | uchar * {aka unsigned char *} anim.c:302:23: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 302 | void copysquare(char *dest,char *source) | ~~~~~~^~~~ anim.c:896:23: warning: pointer targets in passing argument 2 of 'copysquare' differ in signedness [-Wpointer-sign] 896 | copysquare(tsquare2,asquare); | ^~~~~~~ | | | uchar * {aka unsigned char *} anim.c:302:34: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 302 | void copysquare(char *dest,char *source) | ~~~~~~^~~~~~ anim.c:897:14: warning: pointer targets in passing argument 1 of 'copysquare' differ in signedness [-Wpointer-sign] 897 | copysquare(asquare,savesquare); | ^~~~~~~ | | | uchar * {aka unsigned char *} anim.c:302:23: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 302 | void copysquare(char *dest,char *source) | ~~~~~~^~~~ anim.c:897:22: warning: pointer targets in passing argument 2 of 'copysquare' differ in signedness [-Wpointer-sign] 897 | copysquare(asquare,savesquare); | ^~~~~~~~~~ | | | uchar * {aka unsigned char *} anim.c:302:34: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 302 | void copysquare(char *dest,char *source) | ~~~~~~^~~~~~ anim.c:898:14: warning: pointer targets in passing argument 1 of 'copysquare' differ in signedness [-Wpointer-sign] 898 | copysquare(savesquare,tsquare2); | ^~~~~~~~~~ | | | uchar * {aka unsigned char *} anim.c:302:23: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 302 | void copysquare(char *dest,char *source) | ~~~~~~^~~~ anim.c:898:25: warning: pointer targets in passing argument 2 of 'copysquare' differ in signedness [-Wpointer-sign] 898 | copysquare(savesquare,tsquare2); | ^~~~~~~~ | | | uchar * {aka unsigned char *} anim.c:302:34: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 302 | void copysquare(char *dest,char *source) | ~~~~~~^~~~~~ anim.c:960:20: warning: pointer targets in passing argument 1 of 'getsquare' differ in signedness [-Wpointer-sign] 960 | getsquare(asquare,animbox); | ^~~~~~~ | | | uchar * {aka unsigned char *} anim.c:153:22: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 153 | void getsquare(char *dest,int num) | ~~~~~~^~~~ anim.c:961:21: warning: pointer targets in passing argument 1 of 'copysquare' differ in signedness [-Wpointer-sign] 961 | copysquare(tsquare,asquare); | ^~~~~~~ | | | uchar * {aka unsigned char *} anim.c:302:23: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 302 | void copysquare(char *dest,char *source) | ~~~~~~^~~~ anim.c:961:29: warning: pointer targets in passing argument 2 of 'copysquare' differ in signedness [-Wpointer-sign] 961 | copysquare(tsquare,asquare); | ^~~~~~~ | | | uchar * {aka unsigned char *} anim.c:302:34: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 302 | void copysquare(char *dest,char *source) | ~~~~~~^~~~~~ anim.c:1004:21: warning: pointer targets in passing argument 2 of 'putsquare' differ in signedness [-Wpointer-sign] 1004 | putsquare(animbox,asquare); | ^~~~~~~ | | | uchar * {aka unsigned char *} anim.c:168:30: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 168 | 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] 1030 | getsquare(tsquare,j*12+i); | ^~~~~~~ | | | uchar * {aka unsigned char *} anim.c:153:22: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 153 | 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] 1051 | sprintf(ttt,"%s artwork: %s",descriptions[workingon], | ^~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:36:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 36 | __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] 1053 | drawstring(ttt,4,4,255); | ^~~ | | | uchar * {aka unsigned char *} anim.c:7:17: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 7 | void drawstring(char *, ...); | ^~~~~~ anim.c:1077:14: warning: pointer targets in passing argument 1 of 'getsquare0' differ in signedness [-Wpointer-sign] 1077 | getsquare0(tsquare,BUTTONFIGS+i); | ^~~~~~~ | | | uchar * {aka unsigned char *} anim.c:137:23: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 137 | 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] 1110 | getsquare(asquare,animbox); | ^~~~~~~ | | | uchar * {aka unsigned char *} anim.c:153:22: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 153 | void getsquare(char *dest,int num) | ~~~~~~^~~~ anim.c:1115:12: warning: pointer targets in passing argument 1 of 'getsquare' differ in signedness [-Wpointer-sign] 1115 | getsquare(asquare,animbox); | ^~~~~~~ | | | uchar * {aka unsigned char *} anim.c:153:22: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 153 | void getsquare(char *dest,int num) | ~~~~~~^~~~ anim.c:1116:13: warning: pointer targets in passing argument 1 of 'copysquare' differ in signedness [-Wpointer-sign] 1116 | copysquare(savesquare,asquare); | ^~~~~~~~~~ | | | uchar * {aka unsigned char *} anim.c:302:23: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 302 | void copysquare(char *dest,char *source) | ~~~~~~^~~~ anim.c:1116:24: warning: pointer targets in passing argument 2 of 'copysquare' differ in signedness [-Wpointer-sign] 1116 | copysquare(savesquare,asquare); | ^~~~~~~ | | | uchar * {aka unsigned char *} anim.c:302:34: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 302 | 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] 1181 | sprintf(ttt,"%s/%s/%s",localname,localdirname,gfxnames[workingon]); | ^~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:36:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 36 | __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] 1196 | wfile=open(name,O_WRONLY|O_CREAT|O_TRUNC|O_BINARY,0600); | ^~~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/fcntl.h:329, from scav.h:32, from anim.c:5: /usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 41 | 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] 1153 | 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] 1162 | 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] 1168 | 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=] 1181 | sprintf(ttt,"%s/%s/%s",localname,localdirname,gfxnames[workingon]); | ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from scav.h:28, from anim.c:5: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 3 or more bytes (assuming 513) into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __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] 194 | 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] 292 | 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] 297 | if(!expandpath(temparea,name,i)) | ^~~~~~~~ | | | uchar * {aka unsigned char *} scav.c:257:22: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 257 | 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] 297 | if(!expandpath(temparea,name,i)) | ^~~~ | | | uchar * {aka unsigned char *} scav.c:257:32: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 257 | 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] 298 | return "Cannot open picture file.\n"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scav.c:299:18: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] 299 | ihand=open(temparea,O_RDONLY|O_BINARY); | ^~~~~~~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/fcntl.h:329, from scav.h:32, from scav.c:6: /usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 41 | open (const char *__path, int __oflag, ...) | ~~~~~~~~~~~~^~~~~~ scav.c:283:7: warning: variable 'comp' set but not used [-Wunused-but-set-variable] 283 | 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] 358 | *picput++ = fixbyte(lines+i,1<<j,deep); | ~~~~~^~ | | | uchar * {aka unsigned char *} In file included from scav.c:6: scav.h:444:26: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 444 | 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] 410 | if (strncmp(buff,"SCAV",4)) {close(input);return -3;} | ^~~~ | | | uchar * {aka unsigned char *} In file included from scav.h:33, from scav.c:6: /usr/include/string.h:143:33: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 143 | 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] 454 | if(strncmp(buff,"SCAV",4)) {close(input);return -3;} /* first 4-bytes are SCAV signature */ | ^~~~ | | | uchar * {aka unsigned char *} In file included from scav.h:33, from scav.c:6: /usr/include/string.h:143:33: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 143 | 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] 545 | err = getresource ((num-1) << 1, tlevel, 180); | ^~~~~~ | | | uchar * {aka unsigned char *} scav.c:398:31: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 398 | 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] 629 | sprintf(ttt,"PLAYER:%s",playername); | ^~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:36:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 36 | __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] 631 | sprintf(ttt,"PRESS SPACE FOR MENU"); | ^~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:36:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 36 | __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] 633 | centertext(" "); /* enough space to clear longest player name */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from scav.c:6: scav.h:467:31: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 467 | 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] 655 | sprintf(statuswant," "); | ^~~~~~~~~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:36:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 36 | __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] 810 | moviesize = getresource (1 + ((clevel-1) << 1), movie, MOVIEMAX+20); | ^~~~~ | | | uchar * {aka unsigned char *} scav.c:398:31: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 398 | 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] 910 | sprintf(statuswant,"-100 EACH SEC. "); | ^~~~~~~~~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:36:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 36 | __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] 916 | sprintf(topwant,"LEVEL %04d %-18s SCORE-TIME %05d-%04d BEST %05d-%04d.%02d ",clevel,bestname,score,totalPlaySeconds,bestscore,besttime,(bestPlayCycles % 60)); | ^~~~~~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:36:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 36 | __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] 933 | err = getresource (1 + ((clevel-1) << 1), movie, 20); | ^~~~~ | | | uchar * {aka unsigned char *} scav.c:398:31: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 398 | 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] 1029 | ptx=320-(8*(strlen(txt)/2)); | ^~~ | | | uchar * {aka unsigned char *} In file included from scav.h:33, from scav.c:6: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 391 | 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] 1049 | centertext("YOU PASSED THE LEVEL!"); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * scav.c:1024:25: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 1024 | void centertext (uchar *txt) | ~~~~~~~^~~ scav.c:1050:14: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1050 | strcpy(ttt,"HIDDEN MONSTER - "); | ^~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:73:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 73 | __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] 1052 | strcat(ttt,"YES\n"); | ^~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:112:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 112 | __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] 1054 | strcat(ttt,"N/A\n"); | ^~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:112:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 112 | __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] 1056 | strcat(ttt," NO\n"); | ^~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:112:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 112 | __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] 1058 | strcpy(ttt,"FLASHING FIRST - "); | ^~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:73:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 73 | __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] 1060 | strcat(ttt,"YES\n"); | ^~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:112:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 112 | __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] 1062 | strcat(ttt,"N/A\n"); | ^~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:112:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 112 | __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] 1064 | strcat(ttt," NO\n"); | ^~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:112:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 112 | __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] 1066 | centertext("-----------"); | ^~~~~~~~~~~~~ | | | char * scav.c:1024:25: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 1024 | void centertext (uchar *txt) | ~~~~~~~^~~ scav.c:1067:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1067 | sprintf(ttt,"TIME BONUS %03d00",bonusSecondsLeft); | ^~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:36:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 36 | __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] 1071 | centertext("NO TRAPPING 20000\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * scav.c:1024:25: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 1024 | void centertext (uchar *txt) | ~~~~~~~^~~ scav.c:1074:21: warning: pointer targets in passing argument 1 of 'centertext' differ in signedness [-Wpointer-sign] 1074 | centertext("NO KILLING 10000\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * scav.c:1024:25: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 1024 | void centertext (uchar *txt) | ~~~~~~~^~~ scav.c:1076:18: warning: pointer targets in passing argument 1 of 'centertext' differ in signedness [-Wpointer-sign] 1076 | centertext("-----------"); | ^~~~~~~~~~~~~ | | | char * scav.c:1024:25: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 1024 | void centertext (uchar *txt) | ~~~~~~~^~~ scav.c:1077:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1077 | sprintf(ttt,"YOUR SCORE %05d",score); | ^~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:36:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 36 | __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] 1079 | sprintf(ttt,"BEST SCORE %05d",bestscore); | ^~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:36:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 36 | __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] 1081 | centertext("-----------"); | ^~~~~~~~~~~~~ | | | char * scav.c:1024:25: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 1024 | void centertext (uchar *txt) | ~~~~~~~^~~ scav.c:1082:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1082 | sprintf(ttt,"YOUR TIME %04d.%02d SECS.",totalPlaySeconds,(totalPlayCycles % 60)); | ^~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:36:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 36 | __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] 1084 | sprintf(ttt,"BEST TIME %04d.%02d SECS.",besttime,(bestPlayCycles % 60)); | ^~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:36:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 36 | __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] 1088 | centertext(""); | ^~ | | | char * scav.c:1024:25: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 1024 | void centertext (uchar *txt) | ~~~~~~~^~~ scav.c:1090:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1090 | sprintf(ttt,"SCORE TIED WITH A BETTER TIME ON LEVEL %04d!",clevel); | ^~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:36:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 36 | __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] 1092 | sprintf(ttt,"YOU JUST GOT THE HIGH SCORE FOR LEVEL %04d!!!",clevel); | ^~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:36:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 36 | __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] 1103 | sprintf(ttt,"PRESS SPACE FOR NEXT LEVEL"); | ^~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:36:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 36 | __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] 1365 | p=doiff(gfxnames[num]); | ~~~~~~~~^~~~~ | | | char * scav.c:280:21: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 280 | uchar *doiff(uchar *name) | ~~~~~~~^~~~ scav.c:1368:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1368 | sprintf(temp,"%s:%s",gfxnames[num],p); | ^~~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:36:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 36 | __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] 1375 | 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] 1439 | if(!strcmp(*pnt++,name)) | ^~~~ | | | uchar * {aka unsigned char *} In file included from scav.h:33, from scav.c:6: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 140 | 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] 1557 | sprintf(temp,"%s/%s",localname,localdirname); | ^~~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:36:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 36 | __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] 1558 | i=stat(temp,&statbuf); | ^~~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:453:1: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 453 | __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] 1565 | err=mkdir(temp,00700); | ^~~~ | | | uchar * {aka unsigned char *} In file included from scav.h:31, from scav.c:6: /usr/include/sys/stat.h:317:31: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 317 | 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] 1583 | if(!expandpath(temp,LevelsName,i)) | ^~~~ | | | uchar * {aka unsigned char *} scav.c:257:22: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 257 | 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] 1588 | err=dupfile(temp,resourcename); | ^~~~ | | | uchar * {aka unsigned char *} scav.c:1484:19: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 1484 | int dupfile(char *src, char *dest) | ~~~~~~^~~ scav.c:1594:15: warning: pointer targets in passing argument 1 of 'makercname' differ in signedness [-Wpointer-sign] 1594 | makercname(temp); | ^~~~ | | | uchar * {aka unsigned char *} In file included from scav.c:6: scav.h:485:31: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 485 | extern void makercname (char *str); | ~~~~~~^~~ scav.c:1595:14: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] 1595 | file=open(temp,O_RDONLY|O_BINARY); | ^~~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/fcntl.h:329, from scav.h:32, from scav.c:6: /usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 41 | open (const char *__path, int __oflag, ...) | ~~~~~~~~~~~~^~~~~~ scav.c:1609:22: warning: pointer targets in passing argument 1 of 'makercfile' differ in signedness [-Wpointer-sign] 1609 | if(!makercfile(temp)) | ^~~~ | | | uchar * {aka unsigned char *} In file included from scav.c:6: scav.h:486:29: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 486 | 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] 1864 | err=getenv(ENVUSER); | ^ scav.c:1866:15: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 1866 | strncpy(playername,err,16); | ^~~~~~~~~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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 *'} 88 | __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] 1866 | strncpy(playername,err,16); | ^~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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 *'} 88 | __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] 1868 | strcpy(playername,"anonymous"); | ^~~~~~~~~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:73:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 73 | __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] 1869 | sprintf(temp,"%s/%s/%s",localname,localdirname,PLAYERNAME); | ^~~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:36:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 36 | __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] 1870 | file=open(temp,O_RDONLY); | ^~~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/fcntl.h:329, from scav.h:32, from scav.c:6: /usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 41 | open (const char *__path, int __oflag, ...) | ~~~~~~~~~~~~^~~~~~ scav.c:1893:15: warning: pointer targets in passing argument 1 of 'puts' differ in signedness [-Wpointer-sign] 1893 | puts(err); | ^~~ | | | uchar * {aka unsigned char *} In file included from scav.h:28, from scav.c:6: /usr/include/stdio.h:637:30: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 637 | 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] 2189 | sprintf(statuswant,"+8000 Flashing "); | ^~~~~~~~~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:36:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 36 | __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] 2207 | sprintf(statuswant,"+10000 Hidden "); | ^~~~~~~~~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:36:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 36 | __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] 2668 | sprintf(statuswant,"-10000 Trapping"); | ^~~~~~~~~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:36:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 36 | __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] 2776 | sprintf(statuswant,"-10000 Killing "); | ^~~~~~~~~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:36:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 36 | __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] 4 | #define VERSION "SDL Scavenger version 1.4.5.1 (11/05/2010)" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * scav.c:4:17: note: in definition of macro 'VERSION' 4 | #define VERSION "SDL Scavenger version 1.4.5.1 (11/05/2010)" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scav.c:1010:22: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 1010 | void lefttext(uchar *txt) | ~~~~~~~^~~ scav.c:2850:13: warning: pointer targets in passing argument 1 of 'lefttext' differ in signedness [-Wpointer-sign] 2850 | lefttext(""); | ^~ | | | char * scav.c:1010:22: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 1010 | void lefttext(uchar *txt) | ~~~~~~~^~~ scav.c:2851:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2851 | sprintf(ttt,"PLAYER:%s",playername); | ^~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:36:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 36 | __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] 2853 | lefttext(""); | ^~ | | | char * scav.c:1010:22: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 1010 | void lefttext(uchar *txt) | ~~~~~~~^~~ scav.c:2854:13: warning: pointer targets in passing argument 1 of 'lefttext' differ in signedness [-Wpointer-sign] 2854 | lefttext("SPACE START GAME AT FIRST UNSOLVED LEVEL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * scav.c:1010:22: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 1010 | void lefttext(uchar *txt) | ~~~~~~~^~~ scav.c:2855:13: warning: pointer targets in passing argument 1 of 'lefttext' differ in signedness [-Wpointer-sign] 2855 | lefttext("F2 GRAPHICS EDITOR"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * scav.c:1010:22: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 1010 | void lefttext(uchar *txt) | ~~~~~~~^~~ scav.c:2856:13: warning: pointer targets in passing argument 1 of 'lefttext' differ in signedness [-Wpointer-sign] 2856 | lefttext("F3 LEVEL EDITOR"); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * scav.c:1010:22: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 1010 | void lefttext(uchar *txt) | ~~~~~~~^~~ scav.c:2857:13: warning: pointer targets in passing argument 1 of 'lefttext' differ in signedness [-Wpointer-sign] 2857 | lefttext("F4 PLAY LEVEL 1, OR -L LEVEL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * scav.c:1010:22: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 1010 | void lefttext(uchar *txt) | ~~~~~~~^~~ scav.c:2858:13: warning: pointer targets in passing argument 1 of 'lefttext' differ in signedness [-Wpointer-sign] 2858 | lefttext("F5 CHANGE PLAYER NAME"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * scav.c:1010:22: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 1010 | void lefttext(uchar *txt) | ~~~~~~~^~~ scav.c:2859:13: warning: pointer targets in passing argument 1 of 'lefttext' differ in signedness [-Wpointer-sign] 2859 | lefttext("KP_MINUS GO TO PREVIOUS LEVEL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * scav.c:1010:22: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 1010 | void lefttext(uchar *txt) | ~~~~~~~^~~ scav.c:2860:13: warning: pointer targets in passing argument 1 of 'lefttext' differ in signedness [-Wpointer-sign] 2860 | lefttext("KP_PLUS GO TO NEXT LEVEL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * scav.c:1010:22: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 1010 | void lefttext(uchar *txt) | ~~~~~~~^~~ scav.c:2861:13: warning: pointer targets in passing argument 1 of 'lefttext' differ in signedness [-Wpointer-sign] 2861 | lefttext("F10 REMAP MOVEMENT KEYS"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * scav.c:1010:22: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 1010 | void lefttext(uchar *txt) | ~~~~~~~^~~ scav.c:2862:13: warning: pointer targets in passing argument 1 of 'lefttext' differ in signedness [-Wpointer-sign] 2862 | lefttext("ESC TOGGLE DEMO/PLAY MODES"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * scav.c:1010:22: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 1010 | void lefttext(uchar *txt) | ~~~~~~~^~~ scav.c:2863:13: warning: pointer targets in passing argument 1 of 'lefttext' differ in signedness [-Wpointer-sign] 2863 | lefttext("F TOGGLE FULLSCREEN MODE"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * scav.c:1010:22: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 1010 | void lefttext(uchar *txt) | ~~~~~~~^~~ scav.c:2864:13: warning: pointer targets in passing argument 1 of 'lefttext' differ in signedness [-Wpointer-sign] 2864 | lefttext("ALT-X EXIT GAME"); | ^~~~~~~~~~~~~~~~~~~~~ | | | char * scav.c:1010:22: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 1010 | 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] 2885 | strcpy(ttt,str); | ^~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:73:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 73 | __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] 2885 | strcpy(ttt,str); | ^~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:73:1: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 73 | __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] 2886 | k=strlen(ttt); | ^~~ | | | uchar * {aka unsigned char *} In file included from scav.h:33, from scav.c:6: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 391 | 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] 2887 | strcat(ttt,txt); | ^~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:112:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 112 | __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] 2887 | strcat(ttt,txt); | ^~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:112:1: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 112 | __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] 2888 | j=strlen(txt); | ^~~ | | | uchar * {aka unsigned char *} In file included from scav.h:33, from scav.c:6: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 391 | 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] 2894 | sprintf(ttt2,"%s~ ",ttt); | ^~~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:36:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 36 | __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] 2953 | strcpy(txt,ttt+k); | ^~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:73:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 73 | __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] 2953 | strcpy(txt,ttt+k); | ~~~^~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:73:1: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 73 | __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] 2954 | sprintf(ttt2,"%-72s",""); | ^~~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:36:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 36 | __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] 2965 | texthere(ttt); | ^~~ | | | char * scav.c:1000:22: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 1000 | 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] 2979 | texthere(ttt); | ^~~ | | | char * scav.c:1000:22: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 1000 | 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] 2997 | texthere("Remapping keys, press Escape to cancel"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * scav.c:1000:22: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 1000 | 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] 3007 | makercname(temp); /* no cancel save changes */ | ^~~~ | | | uchar * {aka unsigned char *} scav.c:1617:23: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 1617 | void makercname(char *str) | ~~~~~~^~~ scav.c:3008:18: warning: pointer targets in passing argument 1 of 'makercfile' differ in signedness [-Wpointer-sign] 3008 | makercfile(temp); | ^~~~ | | | uchar * {aka unsigned char *} scav.c:1622:22: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 1622 | 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] 3023 | query(playername,16,"Enter name:"); | ^~~~~~~~~~~~~ | | | char * scav.c:2875:43: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 2875 | 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] 3034 | err=getresource(1+((clevel-1)<<1),movie,20); | ^~~~~ | | | uchar * {aka unsigned char *} scav.c:398:31: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 398 | 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] 3075 | sprintf(temp,"%s/%s/%s",localname,localdirname,PLAYERNAME); | ^~~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:36:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 36 | __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] 3076 | file=open(temp,O_WRONLY|O_CREAT|O_TRUNC|O_BINARY,0600); | ^~~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/fcntl.h:329, from scav.h:32, from scav.c:6: /usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 41 | 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] 3107 | getresource (1 + ((clevel-1) << 1), movie, MOVIEMAX+20); | ^~~~~ | | | uchar * {aka unsigned char *} scav.c:398:31: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 398 | 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] 3248 | sprintf(name,"cap%03d.lbm",i++); | ^~~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:36:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 36 | __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] 3249 | file=open(name,O_RDONLY); | ^~~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/fcntl.h:329, from scav.h:32, from scav.c:6: /usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 41 | 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] 1526 | 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] 1873 | 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] 3080 | 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=] 916 | 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:866, from scav.h:28, from scav.c:6: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 73 and 108 bytes into a destination of size 73 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __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=] 1405 | sprintf(name2,"%s/%s/%s",localname,localdirname,rcname); | ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from scav.h:28, from scav.c:6: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 3 and 768 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scav.c: In function 'doenemies.part.0': scav.c:2605:22: warning: array subscript -28 is outside array bounds of 'uchar[476]' {aka 'unsigned char[476]'} [-Warray-bounds] 2605 | if(*(oldat-28)==HAT) | ^~~~~~~~~~~ scav.c:153:7: note: while referencing 'levelbuff' 153 | uchar levelbuff[LEVELSIZE]; | ^~~~~~~~~ scav.c:2607:33: warning: array subscript -28 is outside array bounds of 'uchar[476]' {aka 'unsigned char[476]'} [-Warray-bounds] 2607 | *(oldat-28)=EMPTY; scav.c:153:7: note: while referencing 'levelbuff' 153 | uchar levelbuff[LEVELSIZE]; | ^~~~~~~~~ scav.c:2683:22: warning: array subscript -28 is outside array bounds of 'uchar[476]' {aka 'unsigned char[476]'} [-Warray-bounds] 2683 | if(*(oldat-28)==EMPTY) | ^~~~~~~~~~~ scav.c:153:7: note: while referencing 'levelbuff' 153 | uchar levelbuff[LEVELSIZE]; | ^~~~~~~~~ scav.c:2685:33: warning: array subscript -28 is outside array bounds of 'uchar[476]' {aka 'unsigned char[476]'} [-Warray-bounds] 2685 | *(oldat-28)=(en->enflags & HIDDENTYPE) ? HAT : GOLD; scav.c:153:7: note: while referencing 'levelbuff' 153 | uchar levelbuff[LEVELSIZE]; | ^~~~~~~~~ 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=] 3248 | sprintf(name,"cap%03d.lbm",i++); | ^~~~ In file included from /usr/include/stdio.h:866, from scav.h:28, from scav.c:6: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 11 and 18 bytes into a destination of size 16 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __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` ld: gfx.o:/usr/src/RPM/BUILD/sdlscav-145.1_2010_11_5/gfx.c:23: multiple definition of `mousex'; scav.o:/usr/src/RPM/BUILD/sdlscav-145.1_2010_11_5/scav.c:126: first defined here ld: gfx.o:/usr/src/RPM/BUILD/sdlscav-145.1_2010_11_5/gfx.c:23: multiple definition of `mousey'; scav.o:/usr/src/RPM/BUILD/sdlscav-145.1_2010_11_5/scav.c:126: first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:7: sdlscav] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/sdlscav-145.1_2010_11_5' error: Bad exit status from /usr/src/tmp/rpm-tmp.22211 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.22211 (%build) Command exited with non-zero status 1 6.86user 0.30system 0:03.88elapsed 184%CPU (0avgtext+0avgdata 44516maxresident)k 0inputs+0outputs (0major+53356minor)pagefaults 0swaps hsh-rebuild: rebuild of `sdlscav-145.1_2010_11_5-alt1.src.rpm' failed. Command exited with non-zero status 1 16.52user 6.67system 0:18.99elapsed 122%CPU (0avgtext+0avgdata 107404maxresident)k 0inputs+0outputs (0major+304660minor)pagefaults 0swaps