NovaSquirrel/Mesen-X

[Libretro] MinGW64 build failing

Closed this issue · 7 comments

Traced it down to 27a1b21. cbf67e7 builds perfectly fine.

make
g++ -O3 -Wall -D LIBRETRO  -std=c++17  -c libretro.cpp -olibretro.o
libretro.cpp: In function 'void update_settings()':
libretro.cpp:387:97: error: no matching function for call to 'EmulationSettings::SetNtscFilterSettings(int, int, int, int, int, int, bool, int, int, int, bool, bool)'
  387 |     _console->GetSettings()->SetNtscFilterSettings(0, 0, 0, 0, 0, 0, false, 0, 0, 0, false, true);
      |                                                                                                 ^
In file included from LibretroRenderer.h:5,
                 from libretro.cpp:5:
../Core/EmulationSettings.h:1227:7: note: candidate: 'void EmulationSettings::SetNtscFilterSettings(double, double, double, double, double, double, bool, double, double, double, bool, bool, bool)'
 1227 |  void SetNtscFilterSettings(double artifacts, double bleed, double fringing, double gamma, double resolution, double sharpness, bool mergeFields, double yFilterLength, double iFilterLength, double qFilterLength, bool verticalBlend, bool keepVerticalResolution, bool colorimetryCorrection)
      |       ^~~~~~~~~~~~~~~~~~~~~
../Core/EmulationSettings.h:1227:7: note:   candidate expects 13 arguments, 12 provided
libretro.cpp:390:107: error: no matching function for call to 'EmulationSettings::SetNtscFilterSettings(double, int, double, int, double, double, bool, int, int, int, bool, bool)'
  390 |     _console->GetSettings()->SetNtscFilterSettings(-1.0, 0, -1.0, 0, 0.2, 0.2, false, 0, 0, 0, false, true);
      |                                                                                                           ^
In file included from LibretroRenderer.h:5,
                 from libretro.cpp:5:
../Core/EmulationSettings.h:1227:7: note: candidate: 'void EmulationSettings::SetNtscFilterSettings(double, double, double, double, double, double, bool, double, double, double, bool, bool, bool)'
 1227 |  void SetNtscFilterSettings(double artifacts, double bleed, double fringing, double gamma, double resolution, double sharpness, bool mergeFields, double yFilterLength, double iFilterLength, double qFilterLength, bool verticalBlend, bool keepVerticalResolution, bool colorimetryCorrection)
      |       ^~~~~~~~~~~~~~~~~~~~~
../Core/EmulationSettings.h:1227:7: note:   candidate expects 13 arguments, 12 provided
libretro.cpp:394:110: error: no matching function for call to 'EmulationSettings::SetNtscFilterSettings(double, double, double, int, double, double, bool, int, int, int, bool, bool)'
  394 |     _console->GetSettings()->SetNtscFilterSettings(-1.0, -1.0, -1.0, 0, 0.7, 0.2, false, 0, 0, 0, false, true);
      |                                                                                                              ^
In file included from LibretroRenderer.h:5,
                 from libretro.cpp:5:
../Core/EmulationSettings.h:1227:7: note: candidate: 'void EmulationSettings::SetNtscFilterSettings(double, double, double, double, double, double, bool, double, double, double, bool, bool, bool)'
 1227 |  void SetNtscFilterSettings(double artifacts, double bleed, double fringing, double gamma, double resolution, double sharpness, bool mergeFields, double yFilterLength, double iFilterLength, double qFilterLength, bool verticalBlend, bool keepVerticalResolution, bool colorimetryCorrection)
      |       ^~~~~~~~~~~~~~~~~~~~~
../Core/EmulationSettings.h:1227:7: note:   candidate expects 13 arguments, 12 provided
libretro.cpp:398:110: error: no matching function for call to 'EmulationSettings::SetNtscFilterSettings(double, double, double, int, double, double, bool, int, int, int, bool, bool)'
  398 |     _console->GetSettings()->SetNtscFilterSettings(-0.2, -0.1, -0.2, 0, 0.7, 0.2, false, 0, 0, 0, false, true);
      |                                                                                                              ^
In file included from LibretroRenderer.h:5,
                 from libretro.cpp:5:
../Core/EmulationSettings.h:1227:7: note: candidate: 'void EmulationSettings::SetNtscFilterSettings(double, double, double, double, double, double, bool, double, double, double, bool, bool, bool)'
 1227 |  void SetNtscFilterSettings(double artifacts, double bleed, double fringing, double gamma, double resolution, double sharpness, bool mergeFields, double yFilterLength, double iFilterLength, double qFilterLength, bool verticalBlend, bool keepVerticalResolution, bool colorimetryCorrection)
      |       ^~~~~~~~~~~~~~~~~~~~~
../Core/EmulationSettings.h:1227:7: note:   candidate expects 13 arguments, 12 provided
libretro.cpp:401:97: error: no matching function for call to 'EmulationSettings::SetNtscFilterSettings(int, int, int, int, int, int, bool, int, int, int, bool, bool)'
  401 |     _console->GetSettings()->SetNtscFilterSettings(0, 0, 0, 0, 0, 0, false, 0, 0, 0, false, true);
      |                                                                                                 ^
In file included from LibretroRenderer.h:5,
                 from libretro.cpp:5:
../Core/EmulationSettings.h:1227:7: note: candidate: 'void EmulationSettings::SetNtscFilterSettings(double, double, double, double, double, double, bool, double, double, double, bool, bool, bool)'
 1227 |  void SetNtscFilterSettings(double artifacts, double bleed, double fringing, double gamma, double resolution, double sharpness, bool mergeFields, double yFilterLength, double iFilterLength, double qFilterLength, bool verticalBlend, bool keepVerticalResolution, bool colorimetryCorrection)
      |       ^~~~~~~~~~~~~~~~~~~~~
../Core/EmulationSettings.h:1227:7: note:   candidate expects 13 arguments, 12 provided
libretro.cpp:404:97: error: no matching function for call to 'EmulationSettings::SetNtscFilterSettings(int, int, int, int, int, int, bool, int, int, int, bool, bool)'
  404 |     _console->GetSettings()->SetNtscFilterSettings(0, 0, 0, 0, 0, 0, false, 0, 0, 0, false, true);
      |                                                                                                 ^
In file included from LibretroRenderer.h:5,
                 from libretro.cpp:5:
../Core/EmulationSettings.h:1227:7: note: candidate: 'void EmulationSettings::SetNtscFilterSettings(double, double, double, double, double, double, bool, double, double, double, bool, bool, bool)'
 1227 |  void SetNtscFilterSettings(double artifacts, double bleed, double fringing, double gamma, double resolution, double sharpness, bool mergeFields, double yFilterLength, double iFilterLength, double qFilterLength, bool verticalBlend, bool keepVerticalResolution, bool colorimetryCorrection)
      |       ^~~~~~~~~~~~~~~~~~~~~
../Core/EmulationSettings.h:1227:7: note:   candidate expects 13 arguments, 12 provided
libretro.cpp:407:97: error: no matching function for call to 'EmulationSettings::SetNtscFilterSettings(int, int, int, int, int, int, bool, int, int, int, bool, bool)'
  407 |     _console->GetSettings()->SetNtscFilterSettings(0, 0, 0, 0, 0, 0, false, 0, 0, 0, false, true);
      |                                                                                                 ^
In file included from LibretroRenderer.h:5,
                 from libretro.cpp:5:
../Core/EmulationSettings.h:1227:7: note: candidate: 'void EmulationSettings::SetNtscFilterSettings(double, double, double, double, double, double, bool, double, double, double, bool, bool, bool)'
 1227 |  void SetNtscFilterSettings(double artifacts, double bleed, double fringing, double gamma, double resolution, double sharpness, bool mergeFields, double yFilterLength, double iFilterLength, double qFilterLength, bool verticalBlend, bool keepVerticalResolution, bool colorimetryCorrection)
      |       ^~~~~~~~~~~~~~~~~~~~~
../Core/EmulationSettings.h:1227:7: note:   candidate expects 13 arguments, 12 provided
make: *** [Makefile:382: libretro.o] Error 1

Same here:

Executing (target): make -C Libretro
make: Entering directory '/mnt/dev/LibreELEC-RR/build.LibreELEC-wayland.x86_64-11.0-devel/build/mesen-1.0.1/Libretro'
/mnt/dev/LibreELEC-RR/build.LibreELEC-wayland.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc -march=x86-64 -Wall -pipe  -flto -fno-fat-lto-objects -O2 -fomit-frame-pointer -DNDEBUG -O3 -Wall -D LIBRETRO -fPIC -pthread -fPIC -pthread -c ../SevenZip/7zAlloc.c -o../SevenZip/7zAlloc.o
/mnt/dev/LibreELEC-RR/build.LibreELEC-wayland.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc -march=x86-64 -Wall -pipe  -flto -fno-fat-lto-objects -O2 -fomit-frame-pointer -DNDEBUG -O3 -Wall -D LIBRETRO -fPIC -pthread -fPIC -pthread -c ../SevenZip/7zArcIn.c -o../SevenZip/7zArcIn.o
/mnt/dev/LibreELEC-RR/build.LibreELEC-wayland.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc -march=x86-64 -Wall -pipe  -flto -fno-fat-lto-objects -O2 -fomit-frame-pointer -DNDEBUG -O3 -Wall -D LIBRETRO -fPIC -pthread -fPIC -pthread -c ../SevenZip/7zBuf.c -o../SevenZip/7zBuf.o
/mnt/dev/LibreELEC-RR/build.LibreELEC-wayland.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc -march=x86-64 -Wall -pipe  -flto -fno-fat-lto-objects -O2 -fomit-frame-pointer -DNDEBUG -O3 -Wall -D LIBRETRO -fPIC -pthread -fPIC -pthread -c ../SevenZip/7zCrc.c -o../SevenZip/7zCrc.o
/mnt/dev/LibreELEC-RR/build.LibreELEC-wayland.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc -march=x86-64 -Wall -pipe  -flto -fno-fat-lto-objects -O2 -fomit-frame-pointer -DNDEBUG -O3 -Wall -D LIBRETRO -fPIC -pthread -fPIC -pthread -c ../SevenZip/7zCrcOpt.c -o../SevenZip/7zCrcOpt.o
/mnt/dev/LibreELEC-RR/build.LibreELEC-wayland.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc -march=x86-64 -Wall -pipe  -flto -fno-fat-lto-objects -O2 -fomit-frame-pointer -DNDEBUG -O3 -Wall -D LIBRETRO -fPIC -pthread -fPIC -pthread -c ../SevenZip/7zDec.c -o../SevenZip/7zDec.o
/mnt/dev/LibreELEC-RR/build.LibreELEC-wayland.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc -march=x86-64 -Wall -pipe  -flto -fno-fat-lto-objects -O2 -fomit-frame-pointer -DNDEBUG -O3 -Wall -D LIBRETRO -fPIC -pthread -fPIC -pthread -c ../SevenZip/7zFile.c -o../SevenZip/7zFile.o
/mnt/dev/LibreELEC-RR/build.LibreELEC-wayland.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc -march=x86-64 -Wall -pipe  -flto -fno-fat-lto-objects -O2 -fomit-frame-pointer -DNDEBUG -O3 -Wall -D LIBRETRO -fPIC -pthread -fPIC -pthread -c ../SevenZip/7zMemBuffer.c -o../SevenZip/7zMemBuffer.o
/mnt/dev/LibreELEC-RR/build.LibreELEC-wayland.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc -march=x86-64 -Wall -pipe  -flto -fno-fat-lto-objects -O2 -fomit-frame-pointer -DNDEBUG -O3 -Wall -D LIBRETRO -fPIC -pthread -fPIC -pthread -c ../SevenZip/7zStream.c -o../SevenZip/7zStream.o
/mnt/dev/LibreELEC-RR/build.LibreELEC-wayland.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc -march=x86-64 -Wall -pipe  -flto -fno-fat-lto-objects -O2 -fomit-frame-pointer -DNDEBUG -O3 -Wall -D LIBRETRO -fPIC -pthread -fPIC -pthread -c ../SevenZip/Bcj2.c -o../SevenZip/Bcj2.o
/mnt/dev/LibreELEC-RR/build.LibreELEC-wayland.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc -march=x86-64 -Wall -pipe  -flto -fno-fat-lto-objects -O2 -fomit-frame-pointer -DNDEBUG -O3 -Wall -D LIBRETRO -fPIC -pthread -fPIC -pthread -c ../SevenZip/Bra.c -o../SevenZip/Bra.o
/mnt/dev/LibreELEC-RR/build.LibreELEC-wayland.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc -march=x86-64 -Wall -pipe  -flto -fno-fat-lto-objects -O2 -fomit-frame-pointer -DNDEBUG -O3 -Wall -D LIBRETRO -fPIC -pthread -fPIC -pthread -c ../SevenZip/Bra86.c -o../SevenZip/Bra86.o
/mnt/dev/LibreELEC-RR/build.LibreELEC-wayland.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc -march=x86-64 -Wall -pipe  -flto -fno-fat-lto-objects -O2 -fomit-frame-pointer -DNDEBUG -O3 -Wall -D LIBRETRO -fPIC -pthread -fPIC -pthread -c ../SevenZip/BraIA64.c -o../SevenZip/BraIA64.o
/mnt/dev/LibreELEC-RR/build.LibreELEC-wayland.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc -march=x86-64 -Wall -pipe  -flto -fno-fat-lto-objects -O2 -fomit-frame-pointer -DNDEBUG -O3 -Wall -D LIBRETRO -fPIC -pthread -fPIC -pthread -c ../SevenZip/CpuArch.c -o../SevenZip/CpuArch.o
/mnt/dev/LibreELEC-RR/build.LibreELEC-wayland.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc -march=x86-64 -Wall -pipe  -flto -fno-fat-lto-objects -O2 -fomit-frame-pointer -DNDEBUG -O3 -Wall -D LIBRETRO -fPIC -pthread -fPIC -pthread -c ../SevenZip/Delta.c -o../SevenZip/Delta.o
/mnt/dev/LibreELEC-RR/build.LibreELEC-wayland.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc -march=x86-64 -Wall -pipe  -flto -fno-fat-lto-objects -O2 -fomit-frame-pointer -DNDEBUG -O3 -Wall -D LIBRETRO -fPIC -pthread -fPIC -pthread -c ../SevenZip/Lzma2Dec.c -o../SevenZip/Lzma2Dec.o
/mnt/dev/LibreELEC-RR/build.LibreELEC-wayland.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc -march=x86-64 -Wall -pipe  -flto -fno-fat-lto-objects -O2 -fomit-frame-pointer -DNDEBUG -O3 -Wall -D LIBRETRO -fPIC -pthread -fPIC -pthread -c ../SevenZip/LzmaDec.c -o../SevenZip/LzmaDec.o
/mnt/dev/LibreELEC-RR/build.LibreELEC-wayland.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc -march=x86-64 -Wall -pipe  -flto -fno-fat-lto-objects -O2 -fomit-frame-pointer -DNDEBUG -O3 -Wall -D LIBRETRO -fPIC -pthread -fPIC -pthread -c ../SevenZip/Ppmd7.c -o../SevenZip/Ppmd7.o
/mnt/dev/LibreELEC-RR/build.LibreELEC-wayland.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc -march=x86-64 -Wall -pipe  -flto -fno-fat-lto-objects -O2 -fomit-frame-pointer -DNDEBUG -O3 -Wall -D LIBRETRO -fPIC -pthread -fPIC -pthread -c ../SevenZip/Ppmd7Dec.c -o../SevenZip/Ppmd7Dec.o
/mnt/dev/LibreELEC-RR/build.LibreELEC-wayland.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc -march=x86-64 -Wall -pipe  -flto -fno-fat-lto-objects -O2 -fomit-frame-pointer -DNDEBUG -O3 -Wall -D LIBRETRO -fPIC -pthread -fPIC -pthread -c ../SevenZip/Precomp.c -o../SevenZip/Precomp.o
/mnt/dev/LibreELEC-RR/build.LibreELEC-wayland.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-g++ -march=x86-64 -Wall -pipe  -flto -fno-fat-lto-objects -O2 -fomit-frame-pointer -DNDEBUG -O3 -Wall -D LIBRETRO -fPIC -pthread -std=c++17 -fPIC -pthread -c libretro.cpp -olibretro.o
/mnt/dev/LibreELEC-RR/build.LibreELEC-wayland.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-g++ -march=x86-64 -Wall -pipe  -flto -fno-fat-lto-objects -O2 -fomit-frame-pointer -DNDEBUG -O3 -Wall -D LIBRETRO -fPIC -pthread -std=c++17 -fPIC -pthread -c ../Core/APU.cpp -o../Core/APU.o
/mnt/dev/LibreELEC-RR/build.LibreELEC-wayland.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-g++ -march=x86-64 -Wall -pipe  -flto -fno-fat-lto-objects -O2 -fomit-frame-pointer -DNDEBUG -O3 -Wall -D LIBRETRO -fPIC -pthread -std=c++17 -fPIC -pthread -c ../Core/Assembler.cpp -o../Core/Assembler.o
/mnt/dev/LibreELEC-RR/build.LibreELEC-wayland.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-g++ -march=x86-64 -Wall -pipe  -flto -fno-fat-lto-objects -O2 -fomit-frame-pointer -DNDEBUG -O3 -Wall -D LIBRETRO -fPIC -pthread -std=c++17 -fPIC -pthread -c ../Core/AutomaticRomTest.cpp -o../Core/AutomaticRomTest.o
/mnt/dev/LibreELEC-RR/build.LibreELEC-wayland.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-g++ -march=x86-64 -Wall -pipe  -flto -fno-fat-lto-objects -O2 -fomit-frame-pointer -DNDEBUG -O3 -Wall -D LIBRETRO -fPIC -pthread -std=c++17 -fPIC -pthread -c ../Core/AutoSaveManager.cpp -o../Core/AutoSaveManager.o
/mnt/dev/LibreELEC-RR/build.LibreELEC-wayland.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-g++ -march=x86-64 -Wall -pipe  -flto -fno-fat-lto-objects -O2 -fomit-frame-pointer -DNDEBUG -O3 -Wall -D LIBRETRO -fPIC -pthread -std=c++17 -fPIC -pthread -c ../Core/BaseControlDevice.cpp -o../Core/BaseControlDevice.o
/mnt/dev/LibreELEC-RR/build.LibreELEC-wayland.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-g++ -march=x86-64 -Wall -pipe  -flto -fno-fat-lto-objects -O2 -fomit-frame-pointer -DNDEBUG -O3 -Wall -D LIBRETRO -fPIC -pthread -std=c++17 -fPIC -pthread -c ../Core/BaseExpansionAudio.cpp -o../Core/BaseExpansionAudio.o
libretro.cpp: In function 'void update_settings()':
libretro.cpp:387:79: error: no matching function for call to 'EmulationSettings::SetNtscFilterSettings(int, int, int, int, int, int, bool, int, int, int, bool, bool)'
  387 |                                 _console->GetSettings()->SetNtscFilterSettings(0, 0, 0, 0, 0, 0, false, 0, 0, 0, false, true);
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from LibretroRenderer.h:5,
                 from libretro.cpp:5:
../Core/EmulationSettings.h:1227:14: note: candidate: 'void EmulationSettings::SetNtscFilterSettings(double, double, double, double, double, double, bool, double, double, double, bool, bool, bool)'
 1227 |         void SetNtscFilterSettings(double artifacts, double bleed, double fringing, double gamma, double resolution, double sharpness, bool mergeFields, double yFilterLength, double iFilterLength, double qFilterLength, bool verticalBlend, bool keepVerticalResolution, bool colorimetryCorrection)
      |              ^~~~~~~~~~~~~~~~~~~~~
../Core/EmulationSettings.h:1227:14: note:   candidate expects 13 arguments, 12 provided
libretro.cpp:390:79: error: no matching function for call to 'EmulationSettings::SetNtscFilterSettings(double, int, double, int, double, double, bool, int, int, int, bool, bool)'
  390 |                                 _console->GetSettings()->SetNtscFilterSettings(-1.0, 0, -1.0, 0, 0.2, 0.2, false, 0, 0, 0, false, true);
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from LibretroRenderer.h:5,
                 from libretro.cpp:5:
../Core/EmulationSettings.h:1227:14: note: candidate: 'void EmulationSettings::SetNtscFilterSettings(double, double, double, double, double, double, bool, double, double, double, bool, bool, bool)'
 1227 |         void SetNtscFilterSettings(double artifacts, double bleed, double fringing, double gamma, double resolution, double sharpness, bool mergeFields, double yFilterLength, double iFilterLength, double qFilterLength, bool verticalBlend, bool keepVerticalResolution, bool colorimetryCorrection)
      |              ^~~~~~~~~~~~~~~~~~~~~
../Core/EmulationSettings.h:1227:14: note:   candidate expects 13 arguments, 12 provided
libretro.cpp:394:79: error: no matching function for call to 'EmulationSettings::SetNtscFilterSettings(double, double, double, int, double, double, bool, int, int, int, bool, bool)'
  394 |                                 _console->GetSettings()->SetNtscFilterSettings(-1.0, -1.0, -1.0, 0, 0.7, 0.2, false, 0, 0, 0, false, true);
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from LibretroRenderer.h:5,
                 from libretro.cpp:5:
../Core/EmulationSettings.h:1227:14: note: candidate: 'void EmulationSettings::SetNtscFilterSettings(double, double, double, double, double, double, bool, double, double, double, bool, bool, bool)'
 1227 |         void SetNtscFilterSettings(double artifacts, double bleed, double fringing, double gamma, double resolution, double sharpness, bool mergeFields, double yFilterLength, double iFilterLength, double qFilterLength, bool verticalBlend, bool keepVerticalResolution, bool colorimetryCorrection)
      |              ^~~~~~~~~~~~~~~~~~~~~
../Core/EmulationSettings.h:1227:14: note:   candidate expects 13 arguments, 12 provided
libretro.cpp:398:79: error: no matching function for call to 'EmulationSettings::SetNtscFilterSettings(double, double, double, int, double, double, bool, int, int, int, bool, bool)'
  398 |                                 _console->GetSettings()->SetNtscFilterSettings(-0.2, -0.1, -0.2, 0, 0.7, 0.2, false, 0, 0, 0, false, true);
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from LibretroRenderer.h:5,
                 from libretro.cpp:5:
../Core/EmulationSettings.h:1227:14: note: candidate: 'void EmulationSettings::SetNtscFilterSettings(double, double, double, double, double, double, bool, double, double, double, bool, bool, bool)'
 1227 |         void SetNtscFilterSettings(double artifacts, double bleed, double fringing, double gamma, double resolution, double sharpness, bool mergeFields, double yFilterLength, double iFilterLength, double qFilterLength, bool verticalBlend, bool keepVerticalResolution, bool colorimetryCorrection)
      |              ^~~~~~~~~~~~~~~~~~~~~
../Core/EmulationSettings.h:1227:14: note:   candidate expects 13 arguments, 12 provided
libretro.cpp:401:79: error: no matching function for call to 'EmulationSettings::SetNtscFilterSettings(int, int, int, int, int, int, bool, int, int, int, bool, bool)'
  401 |                                 _console->GetSettings()->SetNtscFilterSettings(0, 0, 0, 0, 0, 0, false, 0, 0, 0, false, true);
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from LibretroRenderer.h:5,
                 from libretro.cpp:5:
../Core/EmulationSettings.h:1227:14: note: candidate: 'void EmulationSettings::SetNtscFilterSettings(double, double, double, double, double, double, bool, double, double, double, bool, bool, bool)'
 1227 |         void SetNtscFilterSettings(double artifacts, double bleed, double fringing, double gamma, double resolution, double sharpness, bool mergeFields, double yFilterLength, double iFilterLength, double qFilterLength, bool verticalBlend, bool keepVerticalResolution, bool colorimetryCorrection)
      |              ^~~~~~~~~~~~~~~~~~~~~
../Core/EmulationSettings.h:1227:14: note:   candidate expects 13 arguments, 12 provided
libretro.cpp:404:79: error: no matching function for call to 'EmulationSettings::SetNtscFilterSettings(int, int, int, int, int, int, bool, int, int, int, bool, bool)'
  404 |                                 _console->GetSettings()->SetNtscFilterSettings(0, 0, 0, 0, 0, 0, false, 0, 0, 0, false, true);
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from LibretroRenderer.h:5,
                 from libretro.cpp:5:
../Core/EmulationSettings.h:1227:14: note: candidate: 'void EmulationSettings::SetNtscFilterSettings(double, double, double, double, double, double, bool, double, double, double, bool, bool, bool)'
 1227 |         void SetNtscFilterSettings(double artifacts, double bleed, double fringing, double gamma, double resolution, double sharpness, bool mergeFields, double yFilterLength, double iFilterLength, double qFilterLength, bool verticalBlend, bool keepVerticalResolution, bool colorimetryCorrection)
      |              ^~~~~~~~~~~~~~~~~~~~~
../Core/EmulationSettings.h:1227:14: note:   candidate expects 13 arguments, 12 provided
libretro.cpp:407:79: error: no matching function for call to 'EmulationSettings::SetNtscFilterSettings(int, int, int, int, int, int, bool, int, int, int, bool, bool)'
  407 |                                 _console->GetSettings()->SetNtscFilterSettings(0, 0, 0, 0, 0, 0, false, 0, 0, 0, false, true);
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from LibretroRenderer.h:5,
                 from libretro.cpp:5:
../Core/EmulationSettings.h:1227:14: note: candidate: 'void EmulationSettings::SetNtscFilterSettings(double, double, double, double, double, double, bool, double, double, double, bool, bool, bool)'
 1227 |         void SetNtscFilterSettings(double artifacts, double bleed, double fringing, double gamma, double resolution, double sharpness, bool mergeFields, double yFilterLength, double iFilterLength, double qFilterLength, bool verticalBlend, bool keepVerticalResolution, bool colorimetryCorrection)
      |              ^~~~~~~~~~~~~~~~~~~~~
../Core/EmulationSettings.h:1227:14: note:   candidate expects 13 arguments, 12 provided
make: *** [Makefile:382: libretro.o] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory '/mnt/dev/LibreELEC-RR/build.LibreELEC-wayland.x86_64-11.0-devel/build/mesen-1.0.1/Libretro'

Can you retest this? I think this is fixed.

Still occurs with release 1.0.1

Build still fails.

make
process_begin: CreateProcess(NULL, uname -a, ...) failed.
Makefile:13: pipe: No error
process_begin: CreateProcess(NULL, uname -a, ...) failed.
Makefile:26: pipe: No error
cc -O3 -Wall -D LIBRETRO   -c ../SevenZip/7zAlloc.c -o../SevenZip/7zAlloc.o
cc -O3 -Wall -D LIBRETRO   -c ../SevenZip/7zArcIn.c -o../SevenZip/7zArcIn.o
cc -O3 -Wall -D LIBRETRO   -c ../SevenZip/7zBuf.c -o../SevenZip/7zBuf.o
cc -O3 -Wall -D LIBRETRO   -c ../SevenZip/7zCrc.c -o../SevenZip/7zCrc.o
cc -O3 -Wall -D LIBRETRO   -c ../SevenZip/7zCrcOpt.c -o../SevenZip/7zCrcOpt.o
cc -O3 -Wall -D LIBRETRO   -c ../SevenZip/7zDec.c -o../SevenZip/7zDec.o
cc -O3 -Wall -D LIBRETRO   -c ../SevenZip/7zFile.c -o../SevenZip/7zFile.o
cc -O3 -Wall -D LIBRETRO   -c ../SevenZip/7zMemBuffer.c -o../SevenZip/7zMemBuffer.o
cc -O3 -Wall -D LIBRETRO   -c ../SevenZip/7zStream.c -o../SevenZip/7zStream.o
cc -O3 -Wall -D LIBRETRO   -c ../SevenZip/Bcj2.c -o../SevenZip/Bcj2.o
cc -O3 -Wall -D LIBRETRO   -c ../SevenZip/Bra.c -o../SevenZip/Bra.o
cc -O3 -Wall -D LIBRETRO   -c ../SevenZip/Bra86.c -o../SevenZip/Bra86.o
cc -O3 -Wall -D LIBRETRO   -c ../SevenZip/BraIA64.c -o../SevenZip/BraIA64.o
cc -O3 -Wall -D LIBRETRO   -c ../SevenZip/CpuArch.c -o../SevenZip/CpuArch.o
cc -O3 -Wall -D LIBRETRO   -c ../SevenZip/Delta.c -o../SevenZip/Delta.o
cc -O3 -Wall -D LIBRETRO   -c ../SevenZip/Lzma2Dec.c -o../SevenZip/Lzma2Dec.o
cc -O3 -Wall -D LIBRETRO   -c ../SevenZip/LzmaDec.c -o../SevenZip/LzmaDec.o
cc -O3 -Wall -D LIBRETRO   -c ../SevenZip/Ppmd7.c -o../SevenZip/Ppmd7.o
cc -O3 -Wall -D LIBRETRO   -c ../SevenZip/Ppmd7Dec.c -o../SevenZip/Ppmd7Dec.o
cc -O3 -Wall -D LIBRETRO   -c ../SevenZip/Precomp.c -o../SevenZip/Precomp.o
g++ -O3 -Wall -D LIBRETRO  -std=c++17  -c libretro.cpp -olibretro.o
libretro.cpp: In function 'void update_settings()':
libretro.cpp:387:97: error: no matching function for call to 'EmulationSettings::SetNtscFilterSettings(int, int, int, int, int, int, bool, int, int, int, bool, bool)'
  387 |     _console->GetSettings()->SetNtscFilterSettings(0, 0, 0, 0, 0, 0, false, 0, 0, 0, false, true);
      |                                                                                                 ^
In file included from LibretroRenderer.h:5,
                 from libretro.cpp:5:
../Core/EmulationSettings.h:1227:7: note: candidate: 'void EmulationSettings::SetNtscFilterSettings(double, double, double, double, double, double, bool, double, double, double, bool, bool, bool)'
 1227 |  void SetNtscFilterSettings(double artifacts, double bleed, double fringing, double gamma, double resolution, double sharpness, bool mergeFields, double yFilterLength, double iFilterLength, double qFilterLength, bool verticalBlend, bool keepVerticalResolution, bool colorimetryCorrection)
      |       ^~~~~~~~~~~~~~~~~~~~~
../Core/EmulationSettings.h:1227:7: note:   candidate expects 13 arguments, 12 provided
libretro.cpp:390:107: error: no matching function for call to 'EmulationSettings::SetNtscFilterSettings(double, int, double, int, double, double, bool, int, int, int, bool, bool)'
  390 |     _console->GetSettings()->SetNtscFilterSettings(-1.0, 0, -1.0, 0, 0.2, 0.2, false, 0, 0, 0, false, true);
      |                                                                                                           ^
In file included from LibretroRenderer.h:5,
                 from libretro.cpp:5:
../Core/EmulationSettings.h:1227:7: note: candidate: 'void EmulationSettings::SetNtscFilterSettings(double, double, double, double, double, double, bool, double, double, double, bool, bool, bool)'
 1227 |  void SetNtscFilterSettings(double artifacts, double bleed, double fringing, double gamma, double resolution, double sharpness, bool mergeFields, double yFilterLength, double iFilterLength, double qFilterLength, bool verticalBlend, bool keepVerticalResolution, bool colorimetryCorrection)
      |       ^~~~~~~~~~~~~~~~~~~~~
../Core/EmulationSettings.h:1227:7: note:   candidate expects 13 arguments, 12 provided
libretro.cpp:394:110: error: no matching function for call to 'EmulationSettings::SetNtscFilterSettings(double, double, double, int, double, double, bool, int, int, int, bool, bool)'
  394 |     _console->GetSettings()->SetNtscFilterSettings(-1.0, -1.0, -1.0, 0, 0.7, 0.2, false, 0, 0, 0, false, true);
      |                                                                                                              ^
In file included from LibretroRenderer.h:5,
                 from libretro.cpp:5:
../Core/EmulationSettings.h:1227:7: note: candidate: 'void EmulationSettings::SetNtscFilterSettings(double, double, double, double, double, double, bool, double, double, double, bool, bool, bool)'
 1227 |  void SetNtscFilterSettings(double artifacts, double bleed, double fringing, double gamma, double resolution, double sharpness, bool mergeFields, double yFilterLength, double iFilterLength, double qFilterLength, bool verticalBlend, bool keepVerticalResolution, bool colorimetryCorrection)
      |       ^~~~~~~~~~~~~~~~~~~~~
../Core/EmulationSettings.h:1227:7: note:   candidate expects 13 arguments, 12 provided
libretro.cpp:398:110: error: no matching function for call to 'EmulationSettings::SetNtscFilterSettings(double, double, double, int, double, double, bool, int, int, int, bool, bool)'
  398 |     _console->GetSettings()->SetNtscFilterSettings(-0.2, -0.1, -0.2, 0, 0.7, 0.2, false, 0, 0, 0, false, true);
      |                                                                                                              ^
In file included from LibretroRenderer.h:5,
                 from libretro.cpp:5:
../Core/EmulationSettings.h:1227:7: note: candidate: 'void EmulationSettings::SetNtscFilterSettings(double, double, double, double, double, double, bool, double, double, double, bool, bool, bool)'
 1227 |  void SetNtscFilterSettings(double artifacts, double bleed, double fringing, double gamma, double resolution, double sharpness, bool mergeFields, double yFilterLength, double iFilterLength, double qFilterLength, bool verticalBlend, bool keepVerticalResolution, bool colorimetryCorrection)
      |       ^~~~~~~~~~~~~~~~~~~~~
../Core/EmulationSettings.h:1227:7: note:   candidate expects 13 arguments, 12 provided
libretro.cpp:401:97: error: no matching function for call to 'EmulationSettings::SetNtscFilterSettings(int, int, int, int, int, int, bool, int, int, int, bool, bool)'
  401 |     _console->GetSettings()->SetNtscFilterSettings(0, 0, 0, 0, 0, 0, false, 0, 0, 0, false, true);
      |                                                                                                 ^
In file included from LibretroRenderer.h:5,
                 from libretro.cpp:5:
../Core/EmulationSettings.h:1227:7: note: candidate: 'void EmulationSettings::SetNtscFilterSettings(double, double, double, double, double, double, bool, double, double, double, bool, bool, bool)'
 1227 |  void SetNtscFilterSettings(double artifacts, double bleed, double fringing, double gamma, double resolution, double sharpness, bool mergeFields, double yFilterLength, double iFilterLength, double qFilterLength, bool verticalBlend, bool keepVerticalResolution, bool colorimetryCorrection)
      |       ^~~~~~~~~~~~~~~~~~~~~
../Core/EmulationSettings.h:1227:7: note:   candidate expects 13 arguments, 12 provided
libretro.cpp:404:97: error: no matching function for call to 'EmulationSettings::SetNtscFilterSettings(int, int, int, int, int, int, bool, int, int, int, bool, bool)'
  404 |     _console->GetSettings()->SetNtscFilterSettings(0, 0, 0, 0, 0, 0, false, 0, 0, 0, false, true);
      |                                                                                                 ^
In file included from LibretroRenderer.h:5,
                 from libretro.cpp:5:
../Core/EmulationSettings.h:1227:7: note: candidate: 'void EmulationSettings::SetNtscFilterSettings(double, double, double, double, double, double, bool, double, double, double, bool, bool, bool)'
 1227 |  void SetNtscFilterSettings(double artifacts, double bleed, double fringing, double gamma, double resolution, double sharpness, bool mergeFields, double yFilterLength, double iFilterLength, double qFilterLength, bool verticalBlend, bool keepVerticalResolution, bool colorimetryCorrection)
      |       ^~~~~~~~~~~~~~~~~~~~~
../Core/EmulationSettings.h:1227:7: note:   candidate expects 13 arguments, 12 provided
libretro.cpp:407:97: error: no matching function for call to 'EmulationSettings::SetNtscFilterSettings(int, int, int, int, int, int, bool, int, int, int, bool, bool)'
  407 |     _console->GetSettings()->SetNtscFilterSettings(0, 0, 0, 0, 0, 0, false, 0, 0, 0, false, true);
      |                                                                                                 ^
In file included from LibretroRenderer.h:5,
                 from libretro.cpp:5:
../Core/EmulationSettings.h:1227:7: note: candidate: 'void EmulationSettings::SetNtscFilterSettings(double, double, double, double, double, double, bool, double, double, double, bool, bool, bool)'
 1227 |  void SetNtscFilterSettings(double artifacts, double bleed, double fringing, double gamma, double resolution, double sharpness, bool mergeFields, double yFilterLength, double iFilterLength, double qFilterLength, bool verticalBlend, bool keepVerticalResolution, bool colorimetryCorrection)
      |       ^~~~~~~~~~~~~~~~~~~~~
../Core/EmulationSettings.h:1227:7: note:   candidate expects 13 arguments, 12 provided
make: *** [Makefile:382: libretro.o] Error 1

can anyone confirm this on their end? doesn't seem like a problem on my end

$ cd Libretro
$ make CC=/usr/bin/x86_64-w64-mingw32-gcc CXX=/usr/bin/x86_64-w64-mingw32-g++ platform=win -j8      

im cross-compiling from arch

interestingly, it seems to fail on the workflow i provided using ubuntu-latest
https://github.com/negativeExponent/libretro_builds/runs/7989599704?check_suite_focus=true

the best option here is either to wait for official mingw64 to release updated gcc or just switch over to an environment that supports latest gcc, like Arch.

im on Arch so cross-compiling is not an issue. BUT i had to use this on github CI to build a windows target that required std=c++17:

https://github.com/negativeExponent/libretro_builds/blob/main/.github/workflows/win64_mesen_msys2.yml

btw, this is a duplicate of #95

Latest commit (e6d75fc) building fine with the latest version of MinGW64.