Hey all, I seem to be having a strange compilation problem on windows, this is using r6088 of Code::Blocks and the latest trunk of SVN.
-------------- Build: windows in game ---------------
Compiling: ..\..\src\game\g_actor.c
Compiling: ..\..\src\game\g_ai.c
Compiling: ..\..\src\game\g_ai_lua.c
Compiling: ..\..\src\game\g_client.c
Compiling: ..\..\src\game\g_cmds.c
Compiling: ..\..\src\game\g_combat.c
Compiling: ..\..\src\game\g_events.c
Compiling: ..\..\src\game\g_func.c
Compiling: ..\..\src\game\g_inventory.c
Compiling: ..\..\src\game\g_main.c
Compiling: ..\..\src\game\g_match.c
Compiling: ..\..\src\game\g_mission.c
Compiling: ..\..\src\game\g_morale.c
Compiling: ..\..\src\game\g_move.c
Compiling: ..\..\src\game\g_phys.c
Compiling: ..\..\src\game\g_reaction.c
Compiling: ..\..\src\game\g_round.c
Compiling: ..\..\src\game\g_spawn.c
Compiling: ..\..\src\game\g_stats.c
Compiling: ..\..\src\game\g_svcmds.c
Compiling: ..\..\src\game\g_trigger.c
Compiling: ..\..\src\game\g_utils.c
Compiling: ..\..\src\game\g_vis.c
Compiling: ..\..\src\game\inv_shared.c
Compiling: ..\..\src\game\inventory.c
Compiling: ..\..\src\game\lua\lapi.c
Compiling: ..\..\src\game\lua\lauxlib.c
C:\UFOAI\src\game\inventory.c: In function 'I_MoveInInventory':
C:\UFOAI\src\game\inventory.c:338: warning: ignoring return value of function declared with attribute warn_unused_result
Compiling: ..\..\src\game\lua\lbaselib.c
Compiling: ..\..\src\game\lua\lcode.c
Compiling: ..\..\src\game\lua\ldblib.c
Compiling: ..\..\src\game\lua\ldebug.c
Compiling: ..\..\src\game\lua\ldo.c
Compiling: ..\..\src\game\lua\ldump.c
Compiling: ..\..\src\game\lua\lfunc.c
Compiling: ..\..\src\game\lua\lgc.c
Compiling: ..\..\src\game\lua\linit.c
Compiling: ..\..\src\game\lua\liolib.c
Compiling: ..\..\src\game\lua\llex.c
Compiling: ..\..\src\game\lua\lmathlib.c
Compiling: ..\..\src\game\lua\lmem.c
Compiling: ..\..\src\game\lua\loadlib.c
Compiling: ..\..\src\game\lua\lobject.c
Compiling: ..\..\src\game\lua\lopcodes.c
Compiling: ..\..\src\game\lua\loslib.c
Compiling: ..\..\src\game\lua\lparser.c
Compiling: ..\..\src\game\lua\lstate.c
Compiling: ..\..\src\game\lua\lstring.c
Compiling: ..\..\src\game\lua\lstrlib.c
Compiling: ..\..\src\game\lua\ltable.c
Compiling: ..\..\src\game\lua\ltablib.c
Compiling: ..\..\src\game\lua\ltm.c
Compiling: ..\..\src\game\lua\lua.c
Compiling: ..\..\src\game\lua\lundump.c
Compiling: ..\..\src\game\lua\lvm.c
Compiling: ..\..\src\game\lua\lzio.c
Compiling: ..\..\src\game\lua\print.c
Compiling: ..\..\src\game\q_shared.c
Compiling: ..\..\src\shared\infostring.c
Compiling: ..\..\src\shared\mathlib.c
Compiling: ..\..\src\shared\parse.c
Compiling: ..\..\src\shared\shared.c
Linking dynamic library: ..\..\base\game.dll
Output size is 335.00 KB
-------------- Build: windows in ufo2map ---------------
Compiling: ..\..\src\common\files.c
Compiling: ..\..\src\common\ioapi.c
Compiling: ..\..\src\common\mem.c
Compiling: ..\..\src\common\routing.c
Compiling: ..\..\src\common\tracing.c
Compiling: ..\..\src\common\unzip.c
Compiling: ..\..\src\ports\windows\win_shared.c
Compiling: ..\..\src\shared\byte.c
Compiling: ..\..\src\shared\entitiesdef.c
Compiling: ..\..\src\shared\mathlib.c
Compiling: ..\..\src\shared\parse.c
Compiling: ..\..\src\shared\shared.c
Compiling: ..\..\src\tools\ufo2map\brushbsp.c
Compiling: ..\..\src\tools\ufo2map\bsp.c
Compiling: ..\..\src\tools\ufo2map\check\check.c
Compiling: ..\..\src\tools\ufo2map\check\checkentities.c
Compiling: ..\..\src\tools\ufo2map\check\checklib.c
Compiling: ..\..\src\tools\ufo2map\common\aselib.c
Compiling: ..\..\src\tools\ufo2map\common\bspfile.c
Compiling: ..\..\src\tools\ufo2map\common\imagelib.c
Compiling: ..\..\src\tools\ufo2map\common\polylib.c
Compiling: ..\..\src\tools\ufo2map\common\scriplib.c
C:\UFOAI\src\tools\ufo2map\common\imagelib.c: In function 'LoadPNG':
C:\UFOAI\src\tools\ufo2map\common\imagelib.c:308: warning: implicit declaration of function 'png_check_sig'
C:\UFOAI\src\tools\ufo2map\common\imagelib.c:355: warning: implicit declaration of function 'png_set_gray_1_2_4_to_8'
C:\UFOAI\src\tools\ufo2map\common\imagelib.c:369: warning: 'width' is deprecated (declared at c:\mingw\bin\../lib/gcc/i686-pc-mingw32/4.4.1-nuwen/../../../../include/png.h:632)
C:\UFOAI\src\tools\ufo2map\common\imagelib.c:369: warning: 'height' is deprecated (declared at c:\mingw\bin\../lib/gcc/i686-pc-mingw32/4.4.1-nuwen/../../../../include/png.h:633)
C:\UFOAI\src\tools\ufo2map\common\imagelib.c:373: warning: 'channels' is deprecated (declared at c:\mingw\bin\../lib/gcc/i686-pc-mingw32/4.4.1-nuwen/../../../../include/png.h:647)
C:\UFOAI\src\tools\ufo2map\common\imagelib.c:374: warning: 'height' is deprecated (declared at c:\mingw\bin\../lib/gcc/i686-pc-mingw32/4.4.1-nuwen/../../../../include/png.h:633)
C:\UFOAI\src\tools\ufo2map\common\imagelib.c:375: warning: 'rowbytes' is deprecated (declared at c:\mingw\bin\../lib/gcc/i686-pc-mingw32/4.4.1-nuwen/../../../../include/png.h:635)
C:\UFOAI\src\tools\ufo2map\common\imagelib.c:376: warning: 'rowbytes' is deprecated (declared at c:\mingw\bin\../lib/gcc/i686-pc-mingw32/4.4.1-nuwen/../../../../include/png.h:635)
C:\UFOAI\src\tools\ufo2map\common\imagelib.c:381: warning: 'width' is deprecated (declared at c:\mingw\bin\../lib/gcc/i686-pc-mingw32/4.4.1-nuwen/../../../../include/png.h:632)
C:\UFOAI\src\tools\ufo2map\common\imagelib.c:381: warning: 'height' is deprecated (declared at c:\mingw\bin\../lib/gcc/i686-pc-mingw32/4.4.1-nuwen/../../../../include/png.h:633)
C:\UFOAI\src\tools\ufo2map\common\imagelib.c:382: warning: 'height' is deprecated (declared at c:\mingw\bin\../lib/gcc/i686-pc-mingw32/4.4.1-nuwen/../../../../include/png.h:633)
C:\UFOAI\src\tools\ufo2map\common\imagelib.c:383: warning: 'rowbytes' is deprecated (declared at c:\mingw\bin\../lib/gcc/i686-pc-mingw32/4.4.1-nuwen/../../../../include/png.h:635)
C:\UFOAI\src\tools\ufo2map\common\imagelib.c:383: warning: 'channels' is deprecated (declared at c:\mingw\bin\../lib/gcc/i686-pc-mingw32/4.4.1-nuwen/../../../../include/png.h:647)
C:\UFOAI\src\tools\ufo2map\common\imagelib.c:384: warning: 'channels' is deprecated (declared at c:\mingw\bin\../lib/gcc/i686-pc-mingw32/4.4.1-nuwen/../../../../include/png.h:647)
C:\UFOAI\src\tools\ufo2map\common\imagelib.c:391: warning: 'width' is deprecated (declared at c:\mingw\bin\../lib/gcc/i686-pc-mingw32/4.4.1-nuwen/../../../../include/png.h:632)
C:\UFOAI\src\tools\ufo2map\common\imagelib.c:393: warning: 'height' is deprecated (declared at c:\mingw\bin\../lib/gcc/i686-pc-mingw32/4.4.1-nuwen/../../../../include/png.h:633)
C:\UFOAI\src\tools\ufo2map\common\imagelib.c:394: warning: 'channels' is deprecated (declared at c:\mingw\bin\../lib/gcc/i686-pc-mingw32/4.4.1-nuwen/../../../../include/png.h:647)
C:\UFOAI\src\tools\ufo2map\common\imagelib.c: At top level:
C:\UFOAI\src\tools\ufo2map\common\imagelib.c:443: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'jpg_fill_input_buffer'
C:\UFOAI\src\tools\ufo2map\common\imagelib.c: In function 'jpeg_mem_src':
C:\UFOAI\src\tools\ufo2map\common\imagelib.c:462: error: 'jpg_fill_input_buffer' undeclared (first use in this function)
C:\UFOAI\src\tools\ufo2map\common\imagelib.c:462: error: (Each undeclared identifier is reported only once
C:\UFOAI\src\tools\ufo2map\common\imagelib.c:462: error: for each function it appears in.)
Process terminated with status 1 (0 minutes, 6 seconds)
4 errors, 18 warnings
Process terminated with status 0 (0 minutes, 6 seconds)
4 errors, 18 warnings
Process terminated with status 0 (0 minutes, 6 seconds)
4 errors, 18 warnings
Process terminated with status 0 (0 minutes, 6 seconds)
4 errors, 18 warnings
I can't see what's wrong or what's causing the error. I brought this up on IRC but since there seem to be very few attempting to compile on Windows nobody could shed some light on the problem. Would appreciate any help as I've gotten this far but now I'm completely stumped.