|
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?
|
|
|
|
Re: Problems Compiling 0.188
[Re: Llaffer]
#368246 - 07/27/17 04:08 AM
|
|
|
|
|
Re: Problems Compiling 0.188
[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.
|
|
|
|
Re: Problems Compiling 0.188
[Re: Llaffer]
#368248 - 07/27/17 04:39 AM
|
|
|
|
|
Re: Problems Compiling 0.188
[Re: Robbbert]
#368250 - 07/27/17 04:55 AM
|
|
|
Changing 201 to BOOL allowed directories.cpp to compile without any other issues.
Thanks.
|
|
|
|
Re: Problems Compiling 0.188
[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)
|
|
|
|
Re: Problems Compiling 0.188
[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.
|
|
|