Compilation failure when using GeoPainter.h
Hi,
I'm trying to build zombietrackergps, it's failing with
g++ -c -fno-keep-inline-dllexport -std=c++17 -Wall -pedantic -O2 -DNDEBUG -Wall -Wextra -Wextra -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DQT_NO_DEBUG -DQT_CHARTS_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I. -I..\..\..\..\include\libldutils -I..\..\..\..\msys\mingw64\include -IC:/KDE-Craft/CraftRoot/build/_/a3118690/libldutils -I/usr/local/include/libldutils -I/usr/include/libldutils -I..\..\..\..\include\qt5 -I..\..\..\..\include\qt5\QtCharts -I..\..\..\..\include -I..\..\..\..\include\qt5\QtSvg -I..\..\..\..\include\qt5\QtWidgets -I..\..\..\..\include\qt5\QtGui -I..\..\..\..\include\qt5\QtANGLE -I..\..\..\..\include\qt5\QtXml -I..\..\..\..\include\qt5\QtNetwork -I..\..\..\..\include\qt5\QtConcurrent -I..\..\..\..\include\qt5\QtCore -Ibuild\moc -Ibuild\ui -I..\..\..\..\mkspecs\win32-g++ -o build\obj\trackmap.o src\ui\widgets\trackmap.cpp In file included from src\ui\widgets\trackmap.cpp:28: ..\..\..\..\include/marble/GeoPainter.h:510:49: error: could not convert 'nullptr' from 'std::nullptr_t' to 'const Frames&' {aka 'const QFlags<Marble::GeoPainter::Frame>&'} const Frames &flags = nullptr); ^~~~~~~
According the dev, it's an issue in GeoPainter.h header file : https://gitlab.com/ldutils-projects/zombietrackergps/-/issues/22