CDT with MinGW "build is stopped" while there's no error [message #880761] |
Sat, 02 June 2012 23:19 |
|
I installed CDT on my home PC (WinXP x64), when I try to build project using MinGW tool chain, it stopped. I googled, but didn't found same issue: g++ is working (compiling, report compile warnings), but it stopped without any error message.
Build log:
**** Build of configuration Debug for project WaveMix ****
**** Internal Builder is used for build ****
g++ -O0 -g3 -Wall -c -fmessage-length=0 -o WaveMix.o ..\WaveMix.cpp
..\WaveMix.cpp: In function 'void MixAudio(WAVE_DATA_INFO*, WORD, WAVE_DATA_INFO&)':
..\WaveMix.cpp:219:5: warning: format '%d' expects argument of type 'int', but argument 4 has type 'DWORD {aka long unsigned int}' [-Wformat]
..\WaveMix.cpp:219:5: warning: format '%X' expects argument of type 'unsigned int', but argument 5 has type 'DWORD {aka long unsigned int}' [-Wformat]
..\WaveMix.cpp:230:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD {aka long unsigned int}' [-Wformat]
..\WaveMix.cpp:230:4: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'DWORD {aka long unsigned int}' [-Wformat]
..\WaveMix.cpp:238:3: warning: format '%d' expects argument of type 'int', but argument 2 has type 'DWORD {aka long unsigned int}' [-Wformat]
..\WaveMix.cpp:238:3: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'DWORD {aka long unsigned int}' [-Wformat]
..\WaveMix.cpp:289:109: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'double' [-Wformat]
..\WaveMix.cpp: In function 'void WriteWavePCMFile(const char*, WAVE_DATA_INFO)':
..\WaveMix.cpp:323:6: warning: variable 'nWrite' set but not used [-Wunused-but-set-variable]
Build error occurred, build is stopped
Time consumed: 1172 ms.
I've also installed CDT on my office computer (WinXP 32bit), it works fine (compile same code) with MinGW tool chain.
Home PC environment:
- Windows XP x64
- JDK 1.6.32 x64
- Eclipse Indigo SR-2 32bit
- MinGW repository catalogue 20120426
[Updated on: Mon, 04 June 2012 01:25] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07834 seconds