UFO:Alien Invasion

Archive => Bugs in older version (2.3.1) => Topic started by: Muton on February 14, 2011, 11:08:46 am

Title: compiler error 2.3.2
Post by: Muton on February 14, 2011, 11:08:46 am
I'm on git ad0740deaae75b172761ba32af837fc2b072efad
Sat Feb 12 15:09:46 2011

tried to compile the fixed (http://ufoai.git.sourceforge.net/git/gitweb.cgi?p=ufoai/ufoai;a=commit;h=831b892a90111469811e6e9e06f85890b6fb9f3c) 2.3.2 but got this error

Compiling: ..\..\src\ports\windows\win_backtrace.c
In file included from C:\UFOAIwin32BUILDenv.old\MinGW\ufoai\src\ports\windows\../../common/common.h:30,
                 from C:\UFOAIwin32BUILDenv.old\MinGW\ufoai\src\ports\windows\../../common/http.h:28,
                 from C:\UFOAIwin32BUILDenv.old\MinGW\ufoai\src\ports\windows\win_backtrace.c:12:
C:\UFOAIwin32BUILDenv.old\MinGW\ufoai\src\ports\windows\../../common/../game/inventory.h:40: error: expected ';', ',' or ')' before 'struct'
C:\UFOAIwin32BUILDenv.old\MinGW\ufoai\src\ports\windows\win_backtrace.c: In function 'exception_filter':
C:\UFOAIwin32BUILDenv.old\MinGW\ufoai\src\ports\windows\win_backtrace.c:294: error: redeclaration of 'crash' with no linkage
C:\UFOAIwin32BUILDenv.old\MinGW\ufoai\src\ports\windows\win_backtrace.c:268: note: previous declaration of 'crash' was here
C:\UFOAIwin32BUILDenv.old\MinGW\ufoai\src\ports\windows\win_backtrace.c:300: warning: format '%d' expects type 'int', but argument 3 has type 'DWORD'
C:\UFOAIwin32BUILDenv.old\MinGW\ufoai\src\ports\windows\win_backtrace.c:300: warning: format '%d' expects type 'int', but argument 4 has type 'DWORD'
C:\UFOAIwin32BUILDenv.old\MinGW\ufoai\src\ports\windows\win_backtrace.c:300: warning: format '%d' expects type 'int', but argument 5 has type 'DWORD'
Process terminated with status 1 (0 minutes, 13 seconds)
2 errors, 3 warnings