Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (buster)test@localhost:~$ git clone https://git.do.srb2.org/KartKrew/Kart-Public.git
- Cloning into 'Kart-Public'...
- remote: Enumerating objects: 41420, done.
- remote: Counting objects: 100% (2688/2688), done.
- remote: Compressing objects: 100% (579/579), done.
- remote: Total 41420 (delta 2116), reused 2669 (delta 2099), pack-reused 38732
- Receiving objects: 100% (41420/41420), 87.36 MiB | 5.79 MiB/s, done.
- Resolving deltas: 100% (31293/31293), done.
- Checking out files: 100% (2159/2159), done.
- (buster)test@localhost:~$ cd Kart-Public
- (buster)test@localhost:~/Kart-Public$ LIBGME_CFLAGS= LIBGME_LDFLAGS=-lgme make -C src/ LINUX64=1 -j3
- make: Entering directory '/home/test/Kart-Public/src'
- Creating dependency file, depend.dep
- Created dependency file, depend.dep
- d_main.c: In function ‘D_SRB2Main’:
- d_main.c:1623:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
- strncpy(connectedservername, cv_servername.string, MAXSERVERNAME);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- d_clisrv.c: In function ‘CL_ConnectToServer’:
- d_clisrv.c:2615:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
- strncpy(connectedservername, serverlist[i].info.servername, MAXSERVERNAME);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In function ‘CL_ServerConnectionSearchTicker’,
- inlined from ‘CL_ServerConnectionTicker’ at d_clisrv.c:2352:9,
- inlined from ‘CL_ConnectToServer’ at d_clisrv.c:2632:8:
- d_clisrv.c:2289:5: warning: ‘strncpy’ specified bound 256 equals destination size [-Wstringop-truncation]
- strncpy(http_source, serverlist[i].info.httpsource, MAX_MIRROR_LENGTH);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- dehacked.c: In function ‘readmaincfg’:
- dehacked.c:3037:5: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
- strncpy(timeattackfolder, gamedatafilename, filenamelen);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- dehacked.c:3035:19: note: length computed here
- filenamelen = strlen(gamedatafilename)-4; // Strip off the extension
- ^~~~~~~~~~~~~~~~~~~~~~~~
- dehacked.c: In function ‘readlevelheader’:
- dehacked.c:1084:6: warning: ‘strncpy’ specified bound 7 equals destination size [-Wstringop-truncation]
- strncpy(mapheaderinfo[num-1]->musname, compat_special_music_slots[i - 1036], 7);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- dehacked.c:1109:5: warning: ‘strncpy’ specified bound 8 equals destination size [-Wstringop-truncation]
- strncpy(mapheaderinfo[num-1]->interscreen, word2, 8);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- g_game.c: In function ‘G_BuildMapName’:
- g_game.c:834:25: warning: ‘%.2d’ directive writing between 2 and 11 bytes into a region of size 7 [-Wformat-overflow=]
- sprintf(&mapname[3], "%.2d", map);
- ^~~~
- g_game.c:834:24: note: directive argument in the range [-2147483648, 99]
- sprintf(&mapname[3], "%.2d", map);
- ^~~~~~
- g_game.c:834:3: note: ‘sprintf’ output between 3 and 12 bytes into a destination of size 7
- sprintf(&mapname[3], "%.2d", map);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- g_game.c: In function ‘G_WriteDemoExtraData’:
- g_game.c:5154:5: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
- strncpy(name, skins[players[i].skin].name, 16);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- g_game.c:5165:5: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
- strncpy(name, KartColor_Names[players[i].skincolor], 16);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- g_game.c:5173:5: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
- strncpy(name, player_names[i], 16);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- g_game.c: In function ‘G_BeginRecording’:
- g_game.c:6565:4: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
- strncpy(name, player_names[p], 16);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- g_game.c:6571:4: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
- strncpy(name, skins[player->skin].name, 16);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- g_game.c:6577:4: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
- strncpy(name, KartColor_Names[player->skincolor], 16);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- g_game.c: In function ‘G_WriteStanding’:
- g_game.c:6665:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
- strncpy(temp, name, 16);
- ^~~~~~~~~~~~~~~~~~~~~~~
- g_game.c:6671:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
- strncpy(temp, skins[skinnum].name, 16);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- g_game.c:6677:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
- strncpy(temp, KartColor_Names[color], 16);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In function ‘HU_DoCEcho’,
- inlined from ‘Got_Saycmd’ at hu_stuff.c:739:3:
- hu_stuff.c:2832:2: warning: ‘strncpy’ specified bound 1024 equals destination size [-Wstringop-truncation]
- strncpy(cechotext, msg, sizeof(cechotext));
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- hu_stuff.c: In function ‘HU_DoCEcho’:
- hu_stuff.c:2832:2: warning: ‘strncpy’ specified bound 1024 equals destination size [-Wstringop-truncation]
- strncpy(cechotext, msg, sizeof(cechotext));
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- m_menu.c: In function ‘PrepReplayList’:
- m_menu.c:5329:41: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 255 [-Wformat-truncation=]
- snprintf(demolist[i].filepath, 255, "%s%s", menupath, dirmenu[i] + DIR_STRING);
- ^~ ~~~~~~~~
- m_menu.c:5329:4: note: ‘snprintf’ output 1 or more bytes (assuming 1024) into a destination of size 255
- snprintf(demolist[i].filepath, 255, "%s%s", menupath, dirmenu[i] + DIR_STRING);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- m_menu.c: In function ‘M_StartServer’:
- m_menu.c:8969:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
- strncpy(connectedservername, cv_servername.string, MAXSERVERNAME);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- p_tick.c: In function ‘P_Ticker’:
- p_tick.c:822:4: error: unknown type name ‘BOOL’ <--- error right here
- BOOL skyVisible = skyVisiblePerPlayer[i];
- ^~~~
- make: *** [Makefile:875: ../objs/Linux64/SDL/Release/p_tick.o] Error 1
- make: *** Waiting for unfinished jobs....
- p_spec.c: In function ‘P_ParseAnimationDefintion’:
- p_spec.c:479:3: warning: ‘strncpy’ specified bound 9 equals destination size [-Wstringop-truncation]
- strncpy(animdefs[i].startname, animdefsToken, 9);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- make: Leaving directory '/home/test/Kart-Public/src'
- (buster)test@localhost:~/Kart-Public$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement