project-navigation
Personal tools

Author Topic: compiler error 2.3.2  (Read 2819 times)

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
compiler error 2.3.2
« 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 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