Frontend Tech + >> MAMEUI & IV/Play
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

caius
MAME Fan
Reged: 10/09/06
Posts: 78
Send PM
Error compiling MAME64UI with the latest 0.189 source from Robbbert repository
09/15/17 09:52 PM


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)







Entire thread
Subject Posted by Posted on
* Error compiling MAME64UI with the latest 0.189 source from Robbbert repository caius 09/15/17 09:52 PM
. * Re: Error compiling MAME64UI with the latest 0.189 source from Robbbert repository Robbbert  09/16/17 03:34 AM
. * Re: Error compiling MAME64UI with the latest 0.189 source from Robbbert repository redk9258  09/16/17 07:58 PM
. * Re: Error compiling MAME64UI with the latest 0.189 source from Robbbert repository redk9258  09/16/17 08:10 PM
. * Re: Error compiling MAME64UI with the latest 0.189 source from Robbbert repository John IVModerator  09/17/17 06:53 AM
. * Re: Error compiling MAME64UI with the latest 0.189 source from Robbbert repository Robbbert  09/17/17 02:17 AM
. * Re: Error compiling MAME64UI with the latest 0.189 source from Robbbert repository krick  09/17/17 07:07 AM
. * Re: Error compiling MAME64UI with the latest 0.189 source from Robbbert repository redk9258  09/17/17 04:30 PM
. * Re: Error compiling MAME64UI with the latest 0.189 source from Robbbert repository redk9258  09/17/17 04:33 PM
. * Re: Error compiling MAME64UI with the latest 0.189 source from Robbbert repository Robbbert  09/17/17 05:20 PM
. * Re: Error compiling MAME64UI with the latest 0.189 source from Robbbert repository redk9258  09/17/17 06:11 PM
. * Re: Error compiling MAME64UI with the latest 0.189 source from Robbbert repository redk9258  09/17/17 08:16 PM
. * Re: Error compiling MAME64UI with the latest 0.189 source from Robbbert repository redk9258  09/17/17 08:17 PM
. * Re: Error compiling MAME64UI with the latest 0.189 source from Robbbert repository Robbbert  09/18/17 12:31 AM
. * Re: Error compiling MAME64UI with the latest 0.189 source from Robbbert repository redk9258  09/18/17 12:00 PM
. * Re: Error compiling MAME64UI with the latest 0.189 source from Robbbert repository redk9258  09/19/17 02:58 AM
. * Re: Error compiling MAME64UI with the latest 0.189 source from Robbbert repository Robbbert  09/21/17 07:10 AM
. * Re: Error compiling MAME64UI with the latest 0.189 source from Robbbert repository redk9258  09/22/17 02:12 AM
. * Re: Error compiling MAME64UI with the latest 0.189 source from Robbbert repository Robbbert  09/22/17 03:41 AM
. * Re: Error compiling MAME64UI with the latest 0.189 source from Robbbert repository cyberdman  09/24/17 01:44 AM
. * Re: Error compiling MAME64UI with the latest 0.189 source from Robbbert repository redk9258  09/22/17 04:15 AM
. * Re: Error compiling MAME64UI with the latest 0.189 source from Robbbert repository redk9258  09/22/17 04:38 AM
. * Re: Error compiling MAME64UI with the latest 0.189 source from Robbbert repository redk9258  09/22/17 12:01 PM
. * Re: Error compiling MAME64UI with the latest 0.189 source from Robbbert repository Robbbert  09/24/17 12:24 PM

Extra information Permissions
Moderator:  John IV 
0 registered and 5 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 350