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

Pages: 1

Llaffer
MAME Fan
Reged: 05/04/11
Posts: 171
Send PM


Problems Compiling 0.188
#368245 - 07/27/17 03:42 AM


I tried compiling the updated release version of MAMEUI64 (including the latest update to "Fix crash in newui" using the standard compiling tools that I've been using for a while now.

I get this error message:


Code:

Compiling src/osd/winui/directories.cpp...
../../../../../src/osd/winui/directories.cpp: In function 'void UpdateDirectoryList(HWND)':
../../../../../src/osd/winui/directories.cpp:230:7: error: use of an operand of type 'bool' in 'operator++' is deprecated [-Werror=deprecated]
b_res++;
^~
cc1plus.exe: all warnings being treated as errors
osd_messui.make:1591: recipe for target '../../../../mingw-gcc/obj/x64/Release/osd_messui/src/osd/winui/directories.o' failed
make[2]: *** [../../../../mingw-gcc/obj/x64/Release/osd_messui/src/osd/winui/directories.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



Thoughts?



Robbbert
Reged: 08/21/04
Posts: 2471
Loc: Land of Oz
Send PM


Re: Problems Compiling 0.188 new [Re: Llaffer]
#368246 - 07/27/17 04:08 AM


>



Llaffer
MAME Fan
Reged: 05/04/11
Posts: 171
Send PM


Re: Problems Compiling 0.188 new [Re: Robbbert]
#368247 - 07/27/17 04:17 AM


Are we using new tools different from the "msys2 project" that we've been using for a while? (that gcc shows version 7.1.0):


Code:

[MINGW32] d:\mamedev\msys64\src\mame_src>gcc --version
gcc (Rev2, Built by MSYS2 project) 7.1.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.




Robbbert
Reged: 08/21/04
Posts: 2471
Loc: Land of Oz
Send PM


Re: Problems Compiling 0.188 new [Re: Llaffer]
#368248 - 07/27/17 04:39 AM


>



Llaffer
MAME Fan
Reged: 05/04/11
Posts: 171
Send PM


Re: Problems Compiling 0.188 new [Re: Robbbert]
#368250 - 07/27/17 04:55 AM


Changing 201 to BOOL allowed directories.cpp to compile without any other issues.

Thanks.



Zaghadka
MAME Groupie
Reged: 04/26/11
Posts: 114
Send PM


Re: Problems Compiling 0.188 new [Re: Robbbert]
#368293 - 07/27/17 11:40 PM


This is why I don't code any more. That worked.

"bool" was changed to "BOOL"

Caps sensitive? WHY? LOL.

Edited by Zaghadka (07/27/17 11:41 PM)



Llaffer
MAME Fan
Reged: 05/04/11
Posts: 171
Send PM


Re: Problems Compiling 0.188 new [Re: Zaghadka]
#368415 - 07/30/17 09:32 PM


I've never really coded in C++ for more than what was required for schoolwork, and that was all mid 90's.

My primary languages are C and java.

So what to many in C++ is common knowledge, is above what limited knowledge that I know of.


Pages: 1

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

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