project-navigation
Personal tools

Author Topic: SVN 16888 compilation errors - FYI  (Read 2779 times)

Offline Destructavator

  • Combination Multiple Specialty Developer
  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1908
  • Creater of Scorchcrafter, knows the zarakites...
    • View Profile
SVN 16888 compilation errors - FYI
« on: May 24, 2008, 01:54:56 pm »
Just FYI, SVN revision 16888 won't compile, Codeblocks on Windows reports errors and can't complete compiling, it also spits out a substantial number of warnings before the error.  I'll try to attach some logs and screenshots shortly, but looking at the highlighted code and messages, it seems there is a problem with part of the code that deals with destruction of a player base (from a successful alien attack).  I also noticed a patch in the SVN log that I'm guessing created this issue by accident.

This came as a surprise to me - almost always when I do an SVN update it will still compile, although playing the game without a crash or error will sometimes be an issue.

If the devs already know about this, then I'm sorry to have bugged you guys about it.

EDIT: Here is some stuff from the "copy to clipboard" feature in Codeblocks:


-------------- Build: windows_debug in game ---------------

Compiling: ..\..\src\game\g_ai.c
Compiling: ..\..\src\game\g_client.c
Compiling: ..\..\src\game\g_cmds.c
Compiling: ..\..\src\game\g_combat.c
Compiling: ..\..\src\game\g_func.c
Compiling: ..\..\src\game\g_main.c
Compiling: ..\..\src\game\g_phys.c
Compiling: ..\..\src\game\g_reaction.c
Compiling: ..\..\src\game\g_spawn.c
Compiling: ..\..\src\game\g_svcmds.c
Compiling: ..\..\src\game\g_trigger.c
Compiling: ..\..\src\game\g_utils.c
Compiling: ..\..\src\game\inv_shared.c
Compiling: ..\..\src\game\q_shared.c
Compiling: ..\..\src\shared\infostring.c
Compiling: ..\..\src\shared\mathlib.c
Compiling: ..\..\src\shared\shared.c
Linking dynamic library: ..\..\base\game.dll
Output size is 782.59 KB

-------------- Build: windows_debug in ufo2map ---------------

Compiling: ..\..\src\common\ioapi.c
Compiling: ..\..\src\common\routing.c
Compiling: ..\..\src\common\tracing.c
Compiling: ..\..\src\common\unzip.c
Compiling: ..\..\src\shared\byte.c
Compiling: ..\..\src\shared\mathlib.c
Compiling: ..\..\src\shared\shared.c
Compiling: ..\..\src\tools\ufo2map\brushbsp.c
Compiling: ..\..\src\tools\ufo2map\bsp.c
Compiling: ..\..\src\tools\ufo2map\check.c
Compiling: ..\..\src\tools\ufo2map\common\bspfile.c
Compiling: ..\..\src\tools\ufo2map\common\cmdlib.c
Compiling: ..\..\src\tools\ufo2map\common\imagelib.c
Compiling: ..\..\src\tools\ufo2map\common\polylib.c
Compiling: ..\..\src\tools\ufo2map\common\scriplib.c
Compiling: ..\..\src\tools\ufo2map\common\trace.c
Compiling: ..\..\src\tools\ufo2map\csg.c
Compiling: ..\..\src\tools\ufo2map\faces.c
Compiling: ..\..\src\tools\ufo2map\levels.c
Compiling: ..\..\src\tools\ufo2map\lightmap.c
Compiling: ..\..\src\tools\ufo2map\map.c
Compiling: ..\..\src\tools\ufo2map\patches.c
Compiling: ..\..\src\tools\ufo2map\portals.c
Compiling: ..\..\src\tools\ufo2map\radiosity.c
Compiling: ..\..\src\tools\ufo2map\routing.c
Compiling: ..\..\src\tools\ufo2map\textures.c
Compiling: ..\..\src\tools\ufo2map\tree.c
Compiling: ..\..\src\tools\ufo2map\ufo2map.c
Compiling: ..\..\src\tools\ufo2map\writebsp.c
Linking console executable: ..\..\ufo2map.exe
Output size is 1.28 MB

-------------- Build: windows_debug in ufo_ded ---------------

Compiling: ..\..\src\common\cmd.c
Compiling: ..\..\src\common\cmodel.c
Compiling: ..\..\src\common\common.c
Compiling: ..\..\src\common\cvar.c
Compiling: ..\..\src\common\dbuffer.c
Compiling: ..\..\src\common\files.c
Compiling: ..\..\src\common\http.c
Compiling: ..\..\src\common\ioapi.c
Compiling: ..\..\src\common\md4.c
Compiling: ..\..\src\common\mem.c
Compiling: ..\..\src\common\msg.c
Compiling: ..\..\src\common\net.c
Compiling: ..\..\src\common\netpack.c
Compiling: ..\..\src\common\pqueue.c
Compiling: ..\..\src\common\routing.c
Compiling: ..\..\src\common\scripts.c
Compiling: ..\..\src\common\tracing.c
Compiling: ..\..\src\common\unzip.c
Compiling: ..\..\src\game\inv_shared.c
Compiling: ..\..\src\game\q_shared.c
Compiling: ..\..\src\ports\windows\ufo.rc
Compiling: ..\..\src\ports\windows\win_console.c
Compiling: ..\..\src\ports\windows\win_main.c
Compiling: ..\..\src\ports\windows\win_shared.c
Compiling: ..\..\src\server\sv_ccmds.c
Compiling: ..\..\src\server\sv_clientstub.c
Compiling: ..\..\src\server\sv_game.c
Compiling: ..\..\src\server\sv_init.c
Compiling: ..\..\src\server\sv_main.c
Compiling: ..\..\src\server\sv_send.c
Compiling: ..\..\src\server\sv_user.c
Compiling: ..\..\src\server\sv_world.c
Compiling: ..\..\src\shared\byte.c
Compiling: ..\..\src\shared\infostring.c
Compiling: ..\..\src\shared\mathlib.c
Compiling: ..\..\src\shared\shared.c
Linking executable: ..\..\ufo_ded.exe
Output size is 1.19 MB

-------------- Build: windows_debug in ufo ---------------

Compiling: ..\..\src\client\cl_actor.c
H:\UFOAI2_3Dev_mod\src\client\/cl_campaign.h:439: warning: 'CP_MissionNotifyBaseDestroyed' declared `static' but never defined
Compiling: ..\..\src\client\cl_aircraft.c
H:\UFOAI2_3Dev_mod\src\client\/cl_campaign.h:439: warning: 'CP_MissionNotifyBaseDestroyed' declared `static' but never defined
Compiling: ..\..\src\client\cl_airfight.c
H:\UFOAI2_3Dev_mod\src\client\/cl_campaign.h:439: warning: 'CP_MissionNotifyBaseDestroyed' declared `static' but never defined
Compiling: ..\..\src\client\cl_alienbase.c
H:\UFOAI2_3Dev_mod\src\client\/cl_campaign.h:439: warning: 'CP_MissionNotifyBaseDestroyed' declared `static' but never defined
Compiling: ..\..\src\client\cl_aliencont.c
H:\UFOAI2_3Dev_mod\src\client\/cl_campaign.h:439: warning: 'CP_MissionNotifyBaseDestroyed' declared `static' but never defined
Compiling: ..\..\src\client\cl_basemanagement.c
H:\UFOAI2_3Dev_mod\src\client\/cl_campaign.h:439: warning: 'CP_MissionNotifyBaseDestroyed' used but never defined
Compiling: ..\..\src\client\cl_basesummary.c
H:\UFOAI2_3Dev_mod\src\client\/cl_campaign.h:439: warning: 'CP_MissionNotifyBaseDestroyed' declared `static' but never defined
Compiling: ..\..\src\client\cl_campaign.c
H:\UFOAI2_3Dev_mod\src\client\cl_campaign.c: In function `CP_MissionNotifyBaseDestroyed':
H:\UFOAI2_3Dev_mod\src\client\cl_campaign.c:651: warning: implicit declaration of function `CP_MissionRemove'
H:\UFOAI2_3Dev_mod\src\client\cl_campaign.c: At top level:
H:\UFOAI2_3Dev_mod\src\client\cl_campaign.c:694: error: conflicting types for 'CP_MissionRemove'
H:\UFOAI2_3Dev_mod\src\client\cl_campaign.c:651: error: previous implicit declaration of 'CP_MissionRemove' was here
H:\UFOAI2_3Dev_mod\src\client\cl_campaign.c:642: warning: 'CP_MissionNotifyBaseDestroyed' defined but not used
Process terminated with status 1 (0 minutes, 33 seconds)
2 errors, 9 warnings
 





||=== ufo, windows_debug ===|
H:\UFOAI2_3Dev_mod\src\client\cl_campaign.h|439|warning: 'CP_MissionNotifyBaseDestroyed' declared `static' but never defined|
H:\UFOAI2_3Dev_mod\src\client\cl_campaign.h|439|warning: 'CP_MissionNotifyBaseDestroyed' declared `static' but never defined|
H:\UFOAI2_3Dev_mod\src\client\cl_campaign.h|439|warning: 'CP_MissionNotifyBaseDestroyed' declared `static' but never defined|
H:\UFOAI2_3Dev_mod\src\client\cl_campaign.h|439|warning: 'CP_MissionNotifyBaseDestroyed' declared `static' but never defined|
H:\UFOAI2_3Dev_mod\src\client\cl_campaign.h|439|warning: 'CP_MissionNotifyBaseDestroyed' declared `static' but never defined|
H:\UFOAI2_3Dev_mod\src\client\cl_campaign.h|439|warning: 'CP_MissionNotifyBaseDestroyed' used but never defined|
H:\UFOAI2_3Dev_mod\src\client\cl_campaign.h|439|warning: 'CP_MissionNotifyBaseDestroyed' declared `static' but never defined|
H:\UFOAI2_3Dev_mod\src\client\cl_campaign.c||In function `CP_MissionNotifyBaseDestroyed':|
H:\UFOAI2_3Dev_mod\src\client\cl_campaign.c|651|warning: implicit declaration of function `CP_MissionRemove'|
H:\UFOAI2_3Dev_mod\src\client\cl_campaign.c|694|error: conflicting types for 'CP_MissionRemove'|
H:\UFOAI2_3Dev_mod\src\client\cl_campaign.c|651|error: previous implicit declaration of 'CP_MissionRemove' was here|
H:\UFOAI2_3Dev_mod\src\client\cl_campaign.c|642|warning: 'CP_MissionNotifyBaseDestroyed' defined but not used|
||=== Build finished: 2 errors, 9 warnings ===|
« Last Edit: May 24, 2008, 01:57:11 pm by Destructavator »

Offline kracken

  • Squad Leader
  • ****
  • Posts: 159
    • View Profile
Re: SVN 16888 compilation errors - FYI
« Reply #1 on: May 24, 2008, 02:34:34 pm »
sorry, this should be fixed in r16889