Hi all, I'm trying to compile MAME64UI with the latest 0.189 source cloned from Robbert repository using latest and updated environment downloaded from mamedev.org.I got this error all the time:
[MINGW64] E:\msys64\src\mameui>make OSD=messui GCC 7.2.0 detected Compiling src/osd/winui/winui.cpp... ../../../../../src/osd/winui/winui.cpp: In function 'void ResizeTreeAndListViews (BOOL)': ../../../../../src/osd/winui/winui.cpp:1302:4: error: this 'if' clause does not guard... [-Werror=misleading-indentation] if (!bShowPicture && !bShowSoftware && !g_splitterInfo[i+1].nSplitterWindow)
^~ ../../../../../src/osd/winui/winui.cpp:1305:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' printf("ResizeTreeAndListViews: %d,%d\n",SPLITTER_WIDTH,MIN_VIEW_WIDTH); ^~~~~~ cc1plus.exe: all warnings being treated as errors osd_messui.make:1685: recipe for target '../../../../mingw-gcc/obj/x64/Release/o sd_messui/src/osd/winui/winui.o' failed make[2]: *** [../../../../mingw-gcc/obj/x64/Release/osd_messui/src/osd/winui/win ui.o] Error 1 makefile:19: recipe for target 'osd_messui' failed make[1]: *** [osd_messui] Error 2 makefile:993: recipe for target 'windows_x64' failed make: *** [windows_x64] Error 2
[MINGW64] E:\msys64\src\mameui>make OSD=messui GCC 7.2.0 detected Compiling src/osd/winui/winui.cpp... ../../../../../src/osd/winui/winui.cpp: In function 'void ResizeTreeAndListViews (BOOL)': ../../../../../src/osd/winui/winui.cpp:1302:4: error: this 'if' clause does not guard... [-Werror=misleading-indentation] if (!bShowPicture && !bShowSoftware && !g_splitterInfo[i+1].nSplitterWindow)
^~ ../../../../../src/osd/winui/winui.cpp:1305:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' printf("ResizeTreeAndListViews: %d,%d\n",SPLITTER_WIDTH,MIN_VIEW_WIDTH); ^~~~~~ cc1plus.exe: all warnings being treated as errors osd_messui.make:1685: recipe for target '../../../../mingw-gcc/obj/x64/Release/o sd_messui/src/osd/winui/winui.o' failed make[2]: *** [../../../../mingw-gcc/obj/x64/Release/osd_messui/src/osd/winui/win ui.o] Error 1 makefile:19: recipe for target 'osd_messui' failed make[1]: *** [osd_messui] Error 2 makefile:993: recipe for target 'windows_x64' failed make: *** [windows_x64] Error 2
Is someone else experiencing same problem? Thanks in advance. Regards
Edited by caius (09/15/17 09:53 PM)
|