-
Notifications
You must be signed in to change notification settings - Fork 2
Description
hi,
i try to compile this source with the last TDM-GCC version and got many error!
wat the version of TDM-GCC to compile this source?
||=== Build: Release in winmm (compiler: GNU GCC Compiler) ===|
C:\Users\ZABOUR\Desktop\proxy-dll-64-r1\sharedcode\Logging.h|4|warning: "WINVER" redefined|
C:\TDM-GCC-64\x86_64-w64-mingw32\include\sdkddkver.h|181|note: this is the location of the previous definition|
C:\Users\ZABOUR\Desktop\proxy-dll-64-r1\sharedcode\Logging.h|5|warning: "_WIN32_WINNT" redefined|
C:\Users\ZABOUR\Desktop\proxy-dll-64-r1\sharedcode\Logging.h|4|warning: "WINVER" redefined|
C:\TDM-GCC-64\x86_64-w64-mingw32\include\sdkddkver.h|181|note: this is the location of the previous definition|
C:\Users\ZABOUR\Desktop\proxy-dll-64-r1\sharedcode\Logging.h|5|warning: "_WIN32_WINNT" redefined|
C:\TDM-GCC-64\x86_64-w64-mingw32\include_mingw.h|233|note: this is the location of the previous definition|
C:\TDM-GCC-64\x86_64-w64-mingw32\include_mingw.h|233|note: this is the location of the previous definition|
C:\Users\ZABOUR\Desktop\proxy-dll-64-r1\sharedcode\Logging.cpp||In function 'void logStart(const char*)':|
C:\Users\ZABOUR\Desktop\proxy-dll-64-r1\sharedcode\Logging.cpp|19|warning: this 'if' clause does not guard... [-Wmisleading-indentation]|
C:\Users\ZABOUR\Desktop\proxy-dll-64-r1\sharedcode\Logging.cpp|21|note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'|
relocation truncated to fit||R_X86_64_32S against .bss'| relocation truncated to fit||R_X86_64_32S against .bss'|
relocation truncated to fit||R_X86_64_32S against .bss'| relocation truncated to fit||R_X86_64_32S against .bss'|
relocation truncated to fit||R_X86_64_32S against .bss'| relocation truncated to fit||R_X86_64_32S against .bss'|
relocation truncated to fit||R_X86_64_32S against .bss'| relocation truncated to fit||R_X86_64_32S against .bss'|
relocation truncated to fit||R_X86_64_32S against .bss'| relocation truncated to fit||R_X86_64_32S against .bss'|
obj\Release\winmm\main.o:main.cpp|| additional relocation overflows omitted from the output|
||error: ld returned 1 exit status|
||=== Build failed: 12 error(s), 5 warning(s) (0 minute(s), 1 second(s)) ===|