Skip to content

Instantly share code, notes, and snippets.

@mattiasb
Created July 12, 2025 17:44
Show Gist options
  • Save mattiasb/aa8a448d5d08faf2cdc4b425593b586a to your computer and use it in GitHub Desktop.
Save mattiasb/aa8a448d5d08faf2cdc4b425593b586a to your computer and use it in GitHub Desktop.
MSE2 genevensis fork build error
========================================================================
Building module magicseteditor2 in /home/mattiasb/Code/github.com/mattiasb/MagicSetEditor2/.flatpak-builder/build/magicseteditor2-3
========================================================================
Switched to branch 'feature/genevensis-cmake-install'
-- The C compiler identification is GNU 14.3.0
-- The CXX compiler identification is GNU 14.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /run/ccache/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /run/ccache/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found wxWidgets: -L/app/lib;-pthread;;;-lwx_gtk3u_core-3.3;-lwx_baseu-3.3;-lwx_baseu_net-3.3;-lwx_gtk3u_html-3.3 (found suitable version "3.3.0", minimum required is "3")
CMake Warning (dev) at CMakeLists.txt:10 (find_package):
Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake
--help-policy CMP0167" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found Boost: /app/lib/cmake/Boost-1.75.0/BoostConfig.cmake (found version "1.75.0") found components: regex
-- Found PkgConfig: /usr/bin/pkg-config (found version "2.4.3")
-- Checking for module 'hunspell'
-- Found hunspell, version 1.7.2
-- Does this have a full path? If not, and it's just a file name, it's broken: Found Hunspell at hunspell-1.7
-- Does this have a full path? If not, and it's just a file name, it's broken: Found Hunspell at hunspell-1.7
-- Configuring done (0.9s)
-- Generating done (0.0s)
-- Build files have been written to: /run/build/magicseteditor2
[1/175] Building CXX object CMakeFiles/magicseteditor.dir/cmake_pch.hxx.gch
[2/175] Building CXX object CMakeFiles/magicseteditor.dir/src/cli/text_io_handler.cpp.o
/run/build/magicseteditor2/src/cli/text_io_handler.cpp: In member function ‘void TextIOHandler::init()’:
/run/build/magicseteditor2/src/cli/text_io_handler.cpp:37:8: warning: variable ‘have_stderr’ set but not used [-Wunused-but-set-variable]
37 | bool have_stderr;
| ^~~~~~~~~~~
[3/175] Building CXX object CMakeFiles/magicseteditor.dir/src/data/add_cards_script.cpp.o
[4/175] Building CXX object CMakeFiles/magicseteditor.dir/src/cli/cli_main.cpp.o
/run/build/magicseteditor2/src/cli/cli_main.cpp: In member function ‘void CLISetInterface::handleCommand(const String&)’:
/run/build/magicseteditor2/src/cli/cli_main.cpp:199:21: warning: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
199 | system(buf);
| ~~~~~~^~~~~
[5/175] Building CXX object CMakeFiles/magicseteditor.dir/src/data/action/symbol_part.cpp.o
[6/175] Building CXX object CMakeFiles/magicseteditor.dir/src/data/action/keyword.cpp.o
[7/175] Building CXX object CMakeFiles/magicseteditor.dir/src/data/action/set.cpp.o
[8/175] Building CXX object CMakeFiles/magicseteditor.dir/src/data/action/value.cpp.o
[9/175] Building CXX object CMakeFiles/magicseteditor.dir/src/data/action/symbol.cpp.o
[10/175] Building CXX object CMakeFiles/magicseteditor.dir/src/data/card_region.cpp.o
[11/175] Building CXX object CMakeFiles/magicseteditor.dir/src/data/field/image.cpp.o
[12/175] Building CXX object CMakeFiles/magicseteditor.dir/src/data/field/boolean.cpp.o
[13/175] Building CXX object CMakeFiles/magicseteditor.dir/src/data/card.cpp.o
[14/175] Building CXX object CMakeFiles/magicseteditor.dir/src/data/export_template.cpp.o
[15/175] Building CXX object CMakeFiles/magicseteditor.dir/src/data/field/color.cpp.o
[16/175] Building CXX object CMakeFiles/magicseteditor.dir/src/data/field/information.cpp.o
[17/175] Building CXX object CMakeFiles/magicseteditor.dir/src/data/field.cpp.o
/run/build/magicseteditor2/src/data/field.cpp: In member function ‘virtual void Field::after_reading(Version)’:
/run/build/magicseteditor2/src/data/field.cpp:73:53: warning: ‘String tr(const String&, const String&, DefaultLocaleFun)’ is deprecated [-Wdeprecated-declarations]
73 | if(caption.default_.empty()) caption.default_ = tr(package_relative_filename, name, name_to_caption);
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /run/build/magicseteditor2/src/util/prec.hpp:95,
from /run/build/magicseteditor2/CMakeFiles/magicseteditor.dir/cmake_pch.hxx:5,
from <command-line>:
/run/build/magicseteditor2/src/util/locale.hpp:55:8: note: declared here
55 | String tr(const String&, const String& key, DefaultLocaleFun def);
| ^~
/run/build/magicseteditor2/src/data/field.cpp:74:67: warning: ‘String tr(const String&, const String&, DefaultLocaleFun)’ is deprecated [-Wdeprecated-declarations]
74 | if(card_list_name.default_.empty()) card_list_name.default_ = tr(package_relative_filename, caption.default_, capitalize);
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/run/build/magicseteditor2/src/util/locale.hpp:55:8: note: declared here
55 | String tr(const String&, const String& key, DefaultLocaleFun def);
| ^~
[18/175] Building CXX object CMakeFiles/magicseteditor.dir/src/data/field/choice.cpp.o
[19/175] Building CXX object CMakeFiles/magicseteditor.dir/src/data/filter.cpp.o
[20/175] Building CXX object CMakeFiles/magicseteditor.dir/src/data/field/package_choice.cpp.o
[21/175] Building CXX object CMakeFiles/magicseteditor.dir/src/data/field/symbol.cpp.o
In file included from /run/build/magicseteditor2/src/data/field/symbol.cpp:11:
/run/build/magicseteditor2/src/render/symbol/filter.hpp:44:17: warning: ‘virtual Color SymbolFilter::color(double, double, SymbolSet) const’ was hidden [-Woverloaded-virtual=]
44 | virtual Color color(double x, double y, SymbolSet point) const = 0;
| ^~~~~
/run/build/magicseteditor2/src/render/symbol/filter.hpp:85:9: note: by ‘GradientSymbolFilter::color(double, double, SymbolSet, const T*) const’
85 | Color color(double x, double y, SymbolSet point, const T* t) const;
| ^~~~~
[22/175] Building CXX object CMakeFiles/magicseteditor.dir/src/data/field/multiple_choice.cpp.o
[23/175] Building CXX object CMakeFiles/magicseteditor.dir/src/data/field/slider.cpp.o
[24/175] Building CXX object CMakeFiles/magicseteditor.dir/src/data/format/html.cpp.o
[25/175] Building CXX object CMakeFiles/magicseteditor.dir/src/data/format/formats.cpp.o
[26/175] Building CXX object CMakeFiles/magicseteditor.dir/src/data/font.cpp.o
[27/175] Building CXX object CMakeFiles/magicseteditor.dir/src/data/field/text.cpp.o
[28/175] Building CXX object CMakeFiles/magicseteditor.dir/src/data/format/image.cpp.o
[29/175] Building CXX object CMakeFiles/magicseteditor.dir/src/data/format/image_to_symbol.cpp.o
[30/175] Building CXX object CMakeFiles/magicseteditor.dir/src/data/format/clipboard.cpp.o
[31/175] Building CXX object CMakeFiles/magicseteditor.dir/src/data/format/mse2.cpp.o
[32/175] Building CXX object CMakeFiles/magicseteditor.dir/src/data/format/apprentice.cpp.o
[33/175] Building CXX object CMakeFiles/magicseteditor.dir/src/data/format/mse1.cpp.o
[34/175] Building CXX object CMakeFiles/magicseteditor.dir/src/data/format/mws.cpp.o
[35/175] Building CXX object CMakeFiles/magicseteditor.dir/src/data/format/mtg_editor.cpp.o
[36/175] Building CXX object CMakeFiles/magicseteditor.dir/src/data/installer.cpp.o
/run/build/magicseteditor2/src/data/installer.cpp: In member function ‘virtual void Installer::validate(Version)’:
/run/build/magicseteditor2/src/data/installer.cpp:44:16: warning: unused variable ‘filename’ [-Wunused-variable]
44 | String filename = p->name + _("/") + p->icon_url;
| ^~~~~~~~
/run/build/magicseteditor2/src/data/installer.cpp: In member function ‘bool InstallablePackage::can(PackageAction) const’:
/run/build/magicseteditor2/src/data/installer.cpp:322:69: warning: enum constant in boolean context [-Wint-in-bool-context]
322 | if (!(act & PACKAGE_ACT_GLOBAL) && installed && PackageVersion::STATUS_GLOBAL) {
| ^~~~~~~~~~~~~
/run/build/magicseteditor2/src/data/installer.cpp: In function ‘bool add_package_dependency(InstallablePackages&, const PackageDependency&, PackageAction, bool)’:
/run/build/magicseteditor2/src/data/installer.cpp:508:14: warning: variable ‘change’ set but not used [-Wunused-but-set-variable]
508 | bool change = false;
| ^~~~~~
[37/175] Building CXX object CMakeFiles/magicseteditor.dir/src/data/locale.cpp.o
[38/175] Building CXX object CMakeFiles/magicseteditor.dir/src/data/statistics.cpp.o
[39/175] Building CXX object CMakeFiles/magicseteditor.dir/src/data/pack.cpp.o
[40/175] Building CXX object CMakeFiles/magicseteditor.dir/src/data/game.cpp.o
[41/175] Building CXX object CMakeFiles/magicseteditor.dir/src/data/settings.cpp.o
/run/build/magicseteditor2/src/data/settings.cpp: In member function ‘void Settings::addRecentFile(const String&)’:
/run/build/magicseteditor2/src/data/settings.cpp:194:15: warning: ‘bool wxFileName::Normalize()’ is deprecated: specify the wanted flags explicitly to avoid surprises [-Wdeprecated-declarations]
194 | fn.Normalize();
| ~~~~~~~~~~~~^~
In file included from /run/build/magicseteditor2/src/util/vcs.hpp:13,
from /run/build/magicseteditor2/src/util/io/package.hpp:15,
from /run/build/magicseteditor2/src/data/installer.hpp:12,
from /run/build/magicseteditor2/src/data/settings.cpp:11:
/app/include/wx-3.3/wx/filename.h:363:10: note: declared here
363 | bool Normalize()
| ^~~~~~~~~
[42/175] Building CXX object CMakeFiles/magicseteditor.dir/src/gfx/bezier.cpp.o
[43/175] Building CXX object CMakeFiles/magicseteditor.dir/src/data/word_list.cpp.o
[44/175] Building CXX object CMakeFiles/magicseteditor.dir/src/data/stylesheet.cpp.o
[45/175] Building CXX object CMakeFiles/magicseteditor.dir/src/data/set.cpp.o
[46/175] Building CXX object CMakeFiles/magicseteditor.dir/src/gfx/blend_image.cpp.o
[47/175] Building CXX object CMakeFiles/magicseteditor.dir/src/data/symbol.cpp.o
[48/175] Building CXX object CMakeFiles/magicseteditor.dir/src/data/keyword.cpp.o
/run/build/magicseteditor2/src/data/keyword.cpp: In member function ‘void Keyword::prepare(const std::vector<boost::intrusive_ptr<KeywordParam> >&, bool)’:
/run/build/magicseteditor2/src/data/keyword.cpp:155:41: warning: variable ‘param’ set but not used [-Wunused-but-set-variable]
155 | vector<KeywordParamP>::const_iterator param = parameters.begin();
| ^~~~~
/run/build/magicseteditor2/src/data/keyword.cpp: In function ‘void keyword_matches(const String&, const Keyword&, std::vector<KeywordMatch>&)’:
/run/build/magicseteditor2/src/data/keyword.cpp:432:10: warning: unused variable ‘i’ [-Wunused-variable]
432 | size_t i = 0;
| ^
[49/175] Building CXX object CMakeFiles/magicseteditor.dir/src/gfx/color.cpp.o
/run/build/magicseteditor2/src/gfx/color.cpp: In function ‘void fill_image(Image&, RGB)’:
/run/build/magicseteditor2/src/gfx/color.cpp:145:11: warning: ‘void* memset(void*, int, size_t)’ writing to an object of non-trivial type ‘struct RGB’; use assignment instead [-Wclass-memaccess]
145 | memset(pos, x.r, (end-pos) * sizeof(*pos));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /run/build/magicseteditor2/src/script/value.hpp:12,
from /run/build/magicseteditor2/src/util/io/get_member.hpp:12,
from /run/build/magicseteditor2/src/util/reflect.hpp:18,
from /run/build/magicseteditor2/src/util/prec.hpp:97,
from /run/build/magicseteditor2/CMakeFiles/magicseteditor.dir/cmake_pch.hxx:5,
from <command-line>:
/run/build/magicseteditor2/src/gfx/color.hpp:70:8: note: ‘struct RGB’ declared here
70 | struct RGB {
| ^~~
[50/175] Building CXX object CMakeFiles/magicseteditor.dir/src/gfx/image_effects.cpp.o
[51/175] Building CXX object CMakeFiles/magicseteditor.dir/src/gfx/mask_image.cpp.o
[52/175] Building CXX object CMakeFiles/magicseteditor.dir/src/gfx/polynomial.cpp.o
[53/175] Building CXX object CMakeFiles/magicseteditor.dir/src/gfx/resample_text.cpp.o
[54/175] Building CXX object CMakeFiles/magicseteditor.dir/src/gfx/resample_image.cpp.o
[55/175] Building CXX object CMakeFiles/magicseteditor.dir/src/gfx/rotate_image.cpp.o
[56/175] Building CXX object CMakeFiles/magicseteditor.dir/src/gfx/generated_image.cpp.o
In file included from /run/build/magicseteditor2/src/gfx/generated_image.cpp:15:
/run/build/magicseteditor2/src/render/symbol/filter.hpp:44:17: warning: ‘virtual Color SymbolFilter::color(double, double, SymbolSet) const’ was hidden [-Woverloaded-virtual=]
44 | virtual Color color(double x, double y, SymbolSet point) const = 0;
| ^~~~~
/run/build/magicseteditor2/src/render/symbol/filter.hpp:85:9: note: by ‘GradientSymbolFilter::color(double, double, SymbolSet, const T*) const’
85 | Color color(double x, double y, SymbolSet point, const T* t) const;
| ^~~~~
[57/175] Building CXX object CMakeFiles/magicseteditor.dir/src/gui/add_csv_window.cpp.o
FAILED: CMakeFiles/magicseteditor.dir/src/gui/add_csv_window.cpp.o
/run/ccache/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_REGEX_DYN_LINK -DUNOFFICIAL_BUILD -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -I/run/build/magicseteditor2/src -I/usr/include/hunspell -isystem /app/lib/wx/include/gtk3-unicode-3.3 -isystem /app/include/wx-3.3 -O2 -pipe -g -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -Wall -Wsuggest-override -Wstrict-null-sentinel -Wno-comment -Wno-unused-parameter -O3 -DNDEBUG -std=gnu++17 -Winvalid-pch -include /run/build/magicseteditor2/CMakeFiles/magicseteditor.dir/cmake_pch.hxx -MD -MT CMakeFiles/magicseteditor.dir/src/gui/add_csv_window.cpp.o -MF CMakeFiles/magicseteditor.dir/src/gui/add_csv_window.cpp.o.d -o CMakeFiles/magicseteditor.dir/src/gui/add_csv_window.cpp.o -c /run/build/magicseteditor2/src/gui/add_csv_window.cpp
In file included from /run/build/magicseteditor2/src/gui/add_csv_window.cpp:20:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp: In function ‘bool set_builtin_container(GameP&, CardP&, ScriptValueP&, String)’:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:33: error: no match for ‘operator!=’ (operand types are ‘StringView’ and ‘const wxChar*’ {aka ‘const wchar_t*’})
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ~~~~~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~
| | |
| StringView const wxChar* {aka const wchar_t*}
In file included from /app/include/wx-3.3/wx/event.h:27,
from /app/include/wx-3.3/wx/wx.h:23,
from /run/build/magicseteditor2/src/util/prec.hpp:29,
from /run/build/magicseteditor2/CMakeFiles/magicseteditor.dir/cmake_pch.hxx:5,
from <command-line>:
/app/include/wx-3.3/wx/itemid.h:56:6: note: candidate: ‘template<class T> bool operator!=(const wxItemId<T>&, const wxItemId<T>&)’
56 | bool operator!=(const wxItemId<T>& left, const wxItemId<T>& right)
| ^~~~~~~~
/app/include/wx-3.3/wx/itemid.h:56:6: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const wxItemId<T>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /usr/include/c++/14.3.0/regex:68,
from /run/build/magicseteditor2/src/gui/add_csv_window.cpp:11:
/usr/include/c++/14.3.0/bits/regex.h:1132:5: note: candidate: ‘template<class _BiIter> bool std::__cxx11::operator!=(const sub_match<_BiIter>&, const sub_match<_BiIter>&)’
1132 | operator!=(const sub_match<_BiIter>& __lhs, const sub_match<_BiIter>& __rhs)
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/regex.h:1132:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::__cxx11::sub_match<_BiIter>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/bits/regex.h:1212:5: note: candidate: ‘template<class _Bi_iter, class _Ch_traits, class _Ch_alloc> bool std::__cxx11::operator!=(__sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>&, const sub_match<_BiIter>&)’
1212 | operator!=(const __sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>& __lhs,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/regex.h:1212:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘std::__cxx11::__sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/bits/regex.h:1305:5: note: candidate: ‘template<class _Bi_iter, class _Ch_traits, class _Ch_alloc> bool std::__cxx11::operator!=(const sub_match<_BiIter>&, __sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>&)’
1305 | operator!=(const sub_match<_Bi_iter>& __lhs,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/regex.h:1305:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::__cxx11::sub_match<_BiIter>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/bits/regex.h:1379:5: note: candidate: ‘template<class _Bi_iter> bool std::__cxx11::operator!=(const typename std::iterator_traits<_Iter>::value_type*, const sub_match<_BiIter>&)’
1379 | operator!=(typename iterator_traits<_Bi_iter>::value_type const* __lhs,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/regex.h:1379:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: mismatched types ‘const std::__cxx11::sub_match<_BiIter>’ and ‘const wxChar*’ {aka ‘const wchar_t*’}
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/bits/regex.h:1473:5: note: candidate: ‘template<class _Bi_iter> bool std::__cxx11::operator!=(const sub_match<_BiIter>&, const typename std::iterator_traits<_Iter>::value_type*)’
1473 | operator!=(const sub_match<_Bi_iter>& __lhs,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/regex.h:1473:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::__cxx11::sub_match<_BiIter>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/bits/regex.h:1547:5: note: candidate: ‘template<class _Bi_iter> bool std::__cxx11::operator!=(const typename std::iterator_traits<_Iter>::value_type&, const sub_match<_BiIter>&)’
1547 | operator!=(typename iterator_traits<_Bi_iter>::value_type const& __lhs,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/regex.h:1547:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: mismatched types ‘const std::__cxx11::sub_match<_BiIter>’ and ‘const wxChar*’ {aka ‘const wchar_t*’}
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/bits/regex.h:1647:5: note: candidate: ‘template<class _Bi_iter> bool std::__cxx11::operator!=(const sub_match<_BiIter>&, const typename std::iterator_traits<_Iter>::value_type&)’
1647 | operator!=(const sub_match<_Bi_iter>& __lhs,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/regex.h:1647:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::__cxx11::sub_match<_BiIter>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/bits/regex.h:2213:5: note: candidate: ‘template<class _Bi_iter, class _Alloc> bool std::__cxx11::operator!=(const match_results<_BiIter, _Alloc>&, const match_results<_BiIter, _Alloc>&)’
2213 | operator!=(const match_results<_Bi_iter, _Alloc>& __m1,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/regex.h:2213:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::__cxx11::match_results<_BiIter, _Alloc>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /usr/include/c++/14.3.0/iosfwd:42,
from /app/include/wx-3.3/wx/iosfwrap.h:14,
from /app/include/wx-3.3/wx/buffer.h:17,
from /app/include/wx-3.3/wx/strconv.h:16,
from /app/include/wx-3.3/wx/strvararg.h:28,
from /app/include/wx-3.3/wx/string.h:34,
from /app/include/wx-3.3/wx/object.h:23,
from /app/include/wx-3.3/wx/wx.h:14:
/usr/include/c++/14.3.0/bits/postypes.h:197:5: note: candidate: ‘template<class _StateT> bool std::operator!=(const fpos<_StateT>&, const fpos<_StateT>&)’
197 | operator!=(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/postypes.h:197:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::fpos<_StateT>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /usr/include/c++/14.3.0/string:43,
from /app/include/wx-3.3/wx/unichar.h:16,
from /app/include/wx-3.3/wx/strvararg.h:30:
/usr/include/c++/14.3.0/bits/allocator.h:243:5: note: candidate: ‘template<class _T1, class _T2> bool std::operator!=(const allocator<_CharT>&, const allocator<_T2>&)’
243 | operator!=(const allocator<_T1>&, const allocator<_T2>&)
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/allocator.h:243:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::allocator<_CharT>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /usr/include/c++/14.3.0/string:48:
/usr/include/c++/14.3.0/bits/stl_iterator.h:455:5: note: candidate: ‘template<class _Iterator> constexpr bool std::operator!=(const reverse_iterator<_Iterator>&, const reverse_iterator<_Iterator>&)’
455 | operator!=(const reverse_iterator<_Iterator>& __x,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/stl_iterator.h:455:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::reverse_iterator<_Iterator>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/bits/stl_iterator.h:500:5: note: candidate: ‘template<class _IteratorL, class _IteratorR> constexpr bool std::operator!=(const reverse_iterator<_Iterator>&, const reverse_iterator<_IteratorR>&)’
500 | operator!=(const reverse_iterator<_IteratorL>& __x,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/stl_iterator.h:500:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::reverse_iterator<_Iterator>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/bits/stl_iterator.h:1686:5: note: candidate: ‘template<class _IteratorL, class _IteratorR> constexpr bool std::operator!=(const move_iterator<_IteratorL>&, const move_iterator<_IteratorR>&)’
1686 | operator!=(const move_iterator<_IteratorL>& __x,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/stl_iterator.h:1686:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::move_iterator<_IteratorL>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/bits/stl_iterator.h:1753:5: note: candidate: ‘template<class _Iterator> constexpr bool std::operator!=(const move_iterator<_IteratorL>&, const move_iterator<_IteratorL>&)’
1753 | operator!=(const move_iterator<_Iterator>& __x,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/stl_iterator.h:1753:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::move_iterator<_IteratorL>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /usr/include/c++/14.3.0/bits/stl_algobase.h:64,
from /usr/include/c++/14.3.0/string:51:
/usr/include/c++/14.3.0/bits/stl_pair.h:1052:5: note: candidate: ‘template<class _T1, class _T2> constexpr bool std::operator!=(const pair<_T1, _T2>&, const pair<_T1, _T2>&)’
1052 | operator!=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/stl_pair.h:1052:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::pair<_T1, _T2>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /usr/include/c++/14.3.0/bits/basic_string.h:47,
from /usr/include/c++/14.3.0/string:54:
/usr/include/c++/14.3.0/string_view:651:5: note: candidate: ‘template<class _CharT, class _Traits> constexpr bool std::operator!=(basic_string_view<_CharT, _Traits>, basic_string_view<_CharT, _Traits>)’
651 | operator!=(basic_string_view<_CharT, _Traits> __x,
| ^~~~~~~~
/usr/include/c++/14.3.0/string_view:651:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘std::basic_string_view<_CharT, _Traits>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/string_view:658:5: note: candidate: ‘template<class _CharT, class _Traits> constexpr bool std::operator!=(basic_string_view<_CharT, _Traits>, __type_identity_t<basic_string_view<_CharT, _Traits> >)’
658 | operator!=(basic_string_view<_CharT, _Traits> __x,
| ^~~~~~~~
/usr/include/c++/14.3.0/string_view:658:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘std::basic_string_view<_CharT, _Traits>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/string_view:666:5: note: candidate: ‘template<class _CharT, class _Traits> constexpr bool std::operator!=(__type_identity_t<basic_string_view<_CharT, _Traits> >, basic_string_view<_CharT, _Traits>)’
666 | operator!=(__type_identity_t<basic_string_view<_CharT, _Traits>> __x,
| ^~~~~~~~
/usr/include/c++/14.3.0/string_view:666:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: mismatched types ‘std::basic_string_view<_CharT, _Traits>’ and ‘const wxChar*’ {aka ‘const wchar_t*’}
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/bits/basic_string.h:3833:5: note: candidate: ‘template<class _CharT, class _Traits, class _Alloc> bool std::operator!=(const __cxx11::basic_string<_CharT, _Traits, _Allocator>&, const __cxx11::basic_string<_CharT, _Traits, _Allocator>&)’
3833 | operator!=(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/basic_string.h:3833:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/bits/basic_string.h:3847:5: note: candidate: ‘template<class _CharT, class _Traits, class _Alloc> bool std::operator!=(const _CharT*, const __cxx11::basic_string<_CharT, _Traits, _Allocator>&)’
3847 | operator!=(const _CharT* __lhs,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/basic_string.h:3847:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: mismatched types ‘const _CharT*’ and ‘StringView’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/bits/basic_string.h:3860:5: note: candidate: ‘template<class _CharT, class _Traits, class _Alloc> bool std::operator!=(const __cxx11::basic_string<_CharT, _Traits, _Allocator>&, const _CharT*)’
3860 | operator!=(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/basic_string.h:3860:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /usr/include/c++/14.3.0/bits/memory_resource.h:47,
from /usr/include/c++/14.3.0/string:68:
/usr/include/c++/14.3.0/tuple:2615:5: note: candidate: ‘template<class ... _TElements, class ... _UElements> constexpr bool std::operator!=(const tuple<_UTypes ...>&, const tuple<_Elements ...>&)’
2615 | operator!=(const tuple<_TElements...>& __t,
| ^~~~~~~~
/usr/include/c++/14.3.0/tuple:2615:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::tuple<_UTypes ...>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /usr/include/c++/14.3.0/vector:66,
from /app/include/wx-3.3/wx/strvararg.h:34:
/usr/include/c++/14.3.0/bits/stl_vector.h:2117:5: note: candidate: ‘template<class _Tp, class _Alloc> bool std::operator!=(const vector<_Tp, _Alloc>&, const vector<_Tp, _Alloc>&)’
2117 | operator!=(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/stl_vector.h:2117:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::vector<_Tp, _Alloc>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /usr/include/c++/14.3.0/functional:59,
from /app/include/wx-3.3/wx/string.h:4162:
/usr/include/c++/14.3.0/bits/std_function.h:761:5: note: candidate: ‘template<class _Res, class ... _Args> bool std::operator!=(const function<_Res(_ArgTypes ...)>&, nullptr_t)’
761 | operator!=(const function<_Res(_Args...)>& __f, nullptr_t) noexcept
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/std_function.h:761:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::function<_Res(_ArgTypes ...)>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/bits/std_function.h:767:5: note: candidate: ‘template<class _Res, class ... _Args> bool std::operator!=(nullptr_t, const function<_Res(_ArgTypes ...)>&)’
767 | operator!=(nullptr_t, const function<_Res(_Args...)>& __f) noexcept
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/std_function.h:767:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: mismatched types ‘const std::function<_Res(_ArgTypes ...)>’ and ‘const wxChar*’ {aka ‘const wchar_t*’}
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /usr/include/c++/14.3.0/unordered_map:41,
from /usr/include/c++/14.3.0/functional:63:
/usr/include/c++/14.3.0/bits/unordered_map.h:2151:5: note: candidate: ‘template<class _Key, class _Tp, class _Hash, class _Pred, class _Alloc> bool std::operator!=(const unordered_map<_Key1, _Tp1, _Hash1, _Pred1, _Alloc1>&, const unordered_map<_Key1, _Tp1, _Hash1, _Pred1, _Alloc1>&)’
2151 | operator!=(const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/unordered_map.h:2151:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::unordered_map<_Key1, _Tp1, _Hash1, _Pred1, _Alloc1>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/bits/unordered_map.h:2165:5: note: candidate: ‘template<class _Key, class _Tp, class _Hash, class _Pred, class _Alloc> bool std::operator!=(const unordered_multimap<_Key1, _Tp1, _Hash1, _Pred1, _Alloc1>&, const unordered_multimap<_Key1, _Tp1, _Hash1, _Pred1, _Alloc1>&)’
2165 | operator!=(const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/unordered_map.h:2165:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::unordered_multimap<_Key1, _Tp1, _Hash1, _Pred1, _Alloc1>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /usr/include/c++/14.3.0/functional:65:
/usr/include/c++/14.3.0/array:332:5: note: candidate: ‘template<class _Tp, long unsigned int _Nm> bool std::operator!=(const array<_Tp, _Nm>&, const array<_Tp, _Nm>&)’
332 | operator!=(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
| ^~~~~~~~
/usr/include/c++/14.3.0/array:332:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::array<_Tp, _Nm>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /usr/include/c++/14.3.0/iterator:66,
from /app/include/wx-3.3/wx/list.h:39,
from /app/include/wx-3.3/wx/wx.h:16:
/usr/include/c++/14.3.0/bits/streambuf_iterator.h:242:5: note: candidate: ‘template<class _CharT, class _Traits> bool std::operator!=(const istreambuf_iterator<_CharT, _Traits>&, const istreambuf_iterator<_CharT, _Traits>&)’
242 | operator!=(const istreambuf_iterator<_CharT, _Traits>& __a,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/streambuf_iterator.h:242:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::istreambuf_iterator<_CharT, _Traits>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /usr/include/c++/14.3.0/list:65,
from /app/include/wx-3.3/wx/list.h:40:
/usr/include/c++/14.3.0/bits/stl_list.h:2196:5: note: candidate: ‘template<class _Tp, class _Alloc> bool std::operator!=(const __cxx11::list<_Tp, _Alloc>&, const __cxx11::list<_Tp, _Alloc>&)’
2196 | operator!=(const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y)
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/stl_list.h:2196:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::__cxx11::list<_Tp, _Alloc>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /usr/include/c++/14.3.0/memory:78,
from /app/include/wx-3.3/wx/translation.h:31,
from /app/include/wx-3.3/wx/intl.h:18,
from /app/include/wx-3.3/wx/wx.h:21:
/usr/include/c++/14.3.0/bits/unique_ptr.h:862:5: note: candidate: ‘template<class _Tp, class _Dp, class _Up, class _Ep> bool std::operator!=(const unique_ptr<_Tp, _Dp>&, const unique_ptr<_Up, _Ep>&)’
862 | operator!=(const unique_ptr<_Tp, _Dp>& __x,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/unique_ptr.h:862:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::unique_ptr<_Tp, _Dp>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/bits/unique_ptr.h:870:5: note: candidate: ‘template<class _Tp, class _Dp> bool std::operator!=(const unique_ptr<_Tp, _Dp>&, nullptr_t)’
870 | operator!=(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/unique_ptr.h:870:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::unique_ptr<_Tp, _Dp>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/bits/unique_ptr.h:877:5: note: candidate: ‘template<class _Tp, class _Dp> bool std::operator!=(nullptr_t, const unique_ptr<_Tp, _Dp>&)’
877 | operator!=(nullptr_t, const unique_ptr<_Tp, _Dp>& __x) noexcept
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/unique_ptr.h:877:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: mismatched types ‘const std::unique_ptr<_Tp, _Dp>’ and ‘const wxChar*’ {aka ‘const wchar_t*’}
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /usr/include/c++/14.3.0/bits/shared_ptr.h:53,
from /usr/include/c++/14.3.0/memory:80:
/usr/include/c++/14.3.0/bits/shared_ptr_base.h:1828:5: note: candidate: ‘template<class _Tp1, class _Tp2, __gnu_cxx::_Lock_policy _Lp> bool std::operator!=(const __shared_ptr<_Tp1, _Lp>&, const __shared_ptr<_Tp2, _Lp>&)’
1828 | operator!=(const __shared_ptr<_Tp1, _Lp>& __a,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/shared_ptr_base.h:1828:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::__shared_ptr<_Tp1, _Lp>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/bits/shared_ptr_base.h:1834:5: note: candidate: ‘template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator!=(const __shared_ptr<_Tp, _Lp>&, nullptr_t)’
1834 | operator!=(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/shared_ptr_base.h:1834:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::__shared_ptr<_Tp, _Lp>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/bits/shared_ptr_base.h:1839:5: note: candidate: ‘template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator!=(nullptr_t, const __shared_ptr<_Tp, _Lp>&)’
1839 | operator!=(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/shared_ptr_base.h:1839:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: mismatched types ‘const std::__shared_ptr<_Tp, _Lp>’ and ‘const wxChar*’ {aka ‘const wchar_t*’}
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/bits/shared_ptr.h:587:5: note: candidate: ‘template<class _Tp, class _Up> bool std::operator!=(const shared_ptr<_Tp>&, const shared_ptr<_Tp>&)’
587 | operator!=(const shared_ptr<_Tp>& __a, const shared_ptr<_Up>& __b) noexcept
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/shared_ptr.h:587:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::shared_ptr<_Tp>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/bits/shared_ptr.h:593:5: note: candidate: ‘template<class _Tp> bool std::operator!=(const shared_ptr<_Tp>&, nullptr_t)’
593 | operator!=(const shared_ptr<_Tp>& __a, nullptr_t) noexcept
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/shared_ptr.h:593:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::shared_ptr<_Tp>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/bits/shared_ptr.h:599:5: note: candidate: ‘template<class _Tp> bool std::operator!=(nullptr_t, const shared_ptr<_Tp>&)’
599 | operator!=(nullptr_t, const shared_ptr<_Tp>& __a) noexcept
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/shared_ptr.h:599:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: mismatched types ‘const std::shared_ptr<_Tp>’ and ‘const wxChar*’ {aka ‘const wchar_t*’}
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /usr/include/c++/14.3.0/map:63,
from /run/build/magicseteditor2/src/util/prec.hpp:41:
/usr/include/c++/14.3.0/bits/stl_map.h:1557:5: note: candidate: ‘template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator!=(const map<_Key, _Tp, _Compare, _Allocator>&, const map<_Key, _Tp, _Compare, _Allocator>&)’
1557 | operator!=(const map<_Key, _Tp, _Compare, _Alloc>& __x,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/stl_map.h:1557:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::map<_Key, _Tp, _Compare, _Allocator>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /usr/include/c++/14.3.0/map:64:
/usr/include/c++/14.3.0/bits/stl_multimap.h:1179:5: note: candidate: ‘template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator!=(const multimap<_Key, _Tp, _Compare, _Allocator>&, const multimap<_Key, _Tp, _Compare, _Allocator>&)’
1179 | operator!=(const multimap<_Key, _Tp, _Compare, _Alloc>& __x,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/stl_multimap.h:1179:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::multimap<_Key, _Tp, _Compare, _Allocator>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /usr/include/c++/14.3.0/set:63,
from /run/build/magicseteditor2/src/util/prec.hpp:42:
/usr/include/c++/14.3.0/bits/stl_set.h:1032:5: note: candidate: ‘template<class _Key, class _Compare, class _Alloc> bool std::operator!=(const set<_Key, _Compare, _Allocator>&, const set<_Key, _Compare, _Allocator>&)’
1032 | operator!=(const set<_Key, _Compare, _Alloc>& __x,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/stl_set.h:1032:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::set<_Key, _Compare, _Allocator>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /usr/include/c++/14.3.0/set:64:
/usr/include/c++/14.3.0/bits/stl_multiset.h:1018:5: note: candidate: ‘template<class _Key, class _Compare, class _Alloc> bool std::operator!=(const multiset<_Key, _Compare, _Allocator>&, const multiset<_Key, _Compare, _Allocator>&)’
1018 | operator!=(const multiset<_Key, _Compare, _Alloc>& __x,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/stl_multiset.h:1018:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::multiset<_Key, _Compare, _Allocator>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /run/build/magicseteditor2/src/gfx/color.hpp:17,
from /run/build/magicseteditor2/src/script/value.hpp:12,
from /run/build/magicseteditor2/src/util/io/get_member.hpp:12,
from /run/build/magicseteditor2/src/util/reflect.hpp:18,
from /run/build/magicseteditor2/src/util/prec.hpp:97:
/usr/include/c++/14.3.0/optional:1241:5: note: candidate: ‘template<class _Tp, class _Up> constexpr std::__optional_ne_t<_Tp, _Up> std::operator!=(const optional<_Tp>&, const optional<_Up>&)’
1241 | operator!=(const optional<_Tp>& __lhs, const optional<_Up>& __rhs)
| ^~~~~~~~
/usr/include/c++/14.3.0/optional:1241:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::optional<_Tp>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/optional:1308:5: note: candidate: ‘template<class _Tp> constexpr bool std::operator!=(const optional<_Tp>&, nullopt_t)’
1308 | operator!=(const optional<_Tp>& __lhs, nullopt_t) noexcept
| ^~~~~~~~
/usr/include/c++/14.3.0/optional:1308:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::optional<_Tp>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/optional:1313:5: note: candidate: ‘template<class _Tp> constexpr bool std::operator!=(nullopt_t, const optional<_Tp>&)’
1313 | operator!=(nullopt_t, const optional<_Tp>& __rhs) noexcept
| ^~~~~~~~
/usr/include/c++/14.3.0/optional:1313:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: mismatched types ‘const std::optional<_Tp>’ and ‘const wxChar*’ {aka ‘const wchar_t*’}
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/optional:1372:5: note: candidate: ‘template<class _Tp, class _Up> constexpr std::__optional_ne_t<_Tp, _Up> std::operator!=(const optional<_Tp>&, const _Up&)’
1372 | operator!=(const optional<_Tp>& __lhs, const _Up& __rhs)
| ^~~~~~~~
/usr/include/c++/14.3.0/optional:1372:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::optional<_Tp>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/optional:1378:5: note: candidate: ‘template<class _Tp, class _Up> constexpr std::__optional_ne_t<_Up, _Tp> std::operator!=(const _Up&, const optional<_Tp>&)’
1378 | operator!=(const _Up& __lhs, const optional<_Tp>& __rhs)
| ^~~~~~~~
/usr/include/c++/14.3.0/optional:1378:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: mismatched types ‘const std::optional<_Tp>’ and ‘const wxChar*’ {aka ‘const wchar_t*’}
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /app/include/boost/container_hash/hash.hpp:115,
from /app/include/boost/regex/v4/basic_regex.hpp:23,
from /app/include/boost/regex/v4/regex.hpp:67,
from /app/include/boost/regex.hpp:31,
from /run/build/magicseteditor2/src/util/regex.hpp:27,
from /run/build/magicseteditor2/src/util/prec.hpp:98:
/usr/include/c++/14.3.0/variant:1267:3: note: candidate: ‘template<class ... _Types> constexpr bool std::operator!=(const variant<_Types ...>&, const variant<_Types ...>&)’
1267 | _VARIANT_RELATION_FUNCTION_TEMPLATE(!=, not_equal)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/14.3.0/variant:1267:3: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::variant<_Types ...>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /usr/include/c++/14.3.0/deque:66,
from /app/include/boost/detail/container_fwd.hpp:91,
from /app/include/boost/container_hash/extensions.hpp:22,
from /app/include/boost/container_hash/hash.hpp:761:
/usr/include/c++/14.3.0/bits/stl_deque.h:2342:5: note: candidate: ‘template<class _Tp, class _Alloc> bool std::operator!=(const deque<_Tp, _Alloc>&, const deque<_Tp, _Alloc>&)’
2342 | operator!=(const deque<_Tp, _Alloc>& __x, const deque<_Tp, _Alloc>& __y)
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/stl_deque.h:2342:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::deque<_Tp, _Alloc>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /app/include/boost/detail/container_fwd.hpp:98:
/usr/include/c++/14.3.0/complex:491:5: note: candidate: ‘template<class _Tp> constexpr bool std::operator!=(const complex<_Tp>&, const complex<_Tp>&)’
491 | operator!=(const complex<_Tp>& __x, const complex<_Tp>& __y)
| ^~~~~~~~
/usr/include/c++/14.3.0/complex:491:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::complex<_Tp>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/complex:496:5: note: candidate: ‘template<class _Tp> constexpr bool std::operator!=(const complex<_Tp>&, const _Tp&)’
496 | operator!=(const complex<_Tp>& __x, const _Tp& __y)
| ^~~~~~~~
/usr/include/c++/14.3.0/complex:496:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::complex<_Tp>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/complex:501:5: note: candidate: ‘template<class _Tp> constexpr bool std::operator!=(const _Tp&, const complex<_Tp>&)’
501 | operator!=(const _Tp& __x, const complex<_Tp>& __y)
| ^~~~~~~~
/usr/include/c++/14.3.0/complex:501:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: mismatched types ‘const std::complex<_Tp>’ and ‘const wxChar*’ {aka ‘const wchar_t*’}
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /usr/include/c++/14.3.0/stack:63,
from /usr/include/c++/14.3.0/regex:43:
/usr/include/c++/14.3.0/bits/stl_stack.h:380:5: note: candidate: ‘template<class _Tp, class _Seq> bool std::operator!=(const stack<_Tp, _Seq>&, const stack<_Tp, _Seq>&)’
380 | operator!=(const stack<_Tp, _Seq>& __x, const stack<_Tp, _Seq>& __y)
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/stl_stack.h:380:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::stack<_Tp, _Seq>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /app/include/wx-3.3/wx/window.h:23,
from /app/include/wx-3.3/wx/wx.h:36:
/app/include/wx-3.3/wx/font.h:677:13: note: candidate: ‘bool operator!=(wxFontFamily, wxDeprecatedGUIConstants)’
677 | inline bool operator!=(wxFontFamily s, wxDeprecatedGUIConstants t)
| ^~~~~~~~
/app/include/wx-3.3/wx/font.h:677:37: note: no known conversion for argument 1 from ‘StringView’ to ‘wxFontFamily’
677 | inline bool operator!=(wxFontFamily s, wxDeprecatedGUIConstants t)
| ~~~~~~~~~~~~~^
/app/include/wx-3.3/wx/font.h:683:13: note: candidate: ‘bool operator!=(wxFontStyle, wxDeprecatedGUIConstants)’
683 | inline bool operator!=(wxFontStyle s, wxDeprecatedGUIConstants t)
| ^~~~~~~~
/app/include/wx-3.3/wx/font.h:683:36: note: no known conversion for argument 1 from ‘StringView’ to ‘wxFontStyle’
683 | inline bool operator!=(wxFontStyle s, wxDeprecatedGUIConstants t)
| ~~~~~~~~~~~~^
/app/include/wx-3.3/wx/font.h:689:13: note: candidate: ‘bool operator!=(wxFontWeight, wxDeprecatedGUIConstants)’
689 | inline bool operator!=(wxFontWeight s, wxDeprecatedGUIConstants t)
| ^~~~~~~~
/app/include/wx-3.3/wx/font.h:689:37: note: no known conversion for argument 1 from ‘StringView’ to ‘wxFontWeight’
689 | inline bool operator!=(wxFontWeight s, wxDeprecatedGUIConstants t)
| ~~~~~~~~~~~~~^
In file included from /app/include/wx-3.3/wx/generic/statusbr.h:18,
from /app/include/wx-3.3/wx/statusbr.h:264,
from /app/include/wx-3.3/wx/frame.h:18,
from /app/include/wx-3.3/wx/wx.h:40:
/app/include/wx-3.3/wx/pen.h:145:13: note: candidate: ‘bool operator!=(wxPenStyle, wxDeprecatedGUIConstants)’
145 | inline bool operator!=(wxPenStyle s, wxDeprecatedGUIConstants t)
| ^~~~~~~~
/app/include/wx-3.3/wx/pen.h:145:35: note: no known conversion for argument 1 from ‘StringView’ to ‘wxPenStyle’
145 | inline bool operator!=(wxPenStyle s, wxDeprecatedGUIConstants t)
| ~~~~~~~~~~~^
In file included from /app/include/wx-3.3/wx/dc.h:23,
from /app/include/wx-3.3/wx/wx.h:49:
/app/include/wx-3.3/wx/brush.h:114:13: note: candidate: ‘bool operator!=(wxBrushStyle, wxDeprecatedGUIConstants)’
114 | inline bool operator!=(wxBrushStyle s, wxDeprecatedGUIConstants t)
| ^~~~~~~~
/app/include/wx-3.3/wx/brush.h:114:37: note: no known conversion for argument 1 from ‘StringView’ to ‘wxBrushStyle’
114 | inline bool operator!=(wxBrushStyle s, wxDeprecatedGUIConstants t)
| ~~~~~~~~~~~~~^
In file included from /usr/include/c++/14.3.0/bits/ios_base.h:46,
from /usr/include/c++/14.3.0/streambuf:43,
from /usr/include/c++/14.3.0/bits/streambuf_iterator.h:35:
/usr/include/c++/14.3.0/system_error:525:3: note: candidate: ‘bool std::operator!=(const error_code&, const error_code&)’
525 | operator!=(const error_code& __lhs, const error_code& __rhs) noexcept
| ^~~~~~~~
/usr/include/c++/14.3.0/system_error:525:32: note: no known conversion for argument 1 from ‘StringView’ to ‘const std::error_code&’
525 | operator!=(const error_code& __lhs, const error_code& __rhs) noexcept
| ~~~~~~~~~~~~~~~~~~^~~~~
/usr/include/c++/14.3.0/system_error:530:3: note: candidate: ‘bool std::operator!=(const error_code&, const error_condition&)’
530 | operator!=(const error_code& __lhs, const error_condition& __rhs) noexcept
| ^~~~~~~~
/usr/include/c++/14.3.0/system_error:530:32: note: no known conversion for argument 1 from ‘StringView’ to ‘const std::error_code&’
530 | operator!=(const error_code& __lhs, const error_condition& __rhs) noexcept
| ~~~~~~~~~~~~~~~~~~^~~~~
/usr/include/c++/14.3.0/system_error:535:3: note: candidate: ‘bool std::operator!=(const error_condition&, const error_code&)’
535 | operator!=(const error_condition& __lhs, const error_code& __rhs) noexcept
| ^~~~~~~~
/usr/include/c++/14.3.0/system_error:535:37: note: no known conversion for argument 1 from ‘StringView’ to ‘const std::error_condition&’
535 | operator!=(const error_condition& __lhs, const error_code& __rhs) noexcept
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/usr/include/c++/14.3.0/system_error:540:3: note: candidate: ‘bool std::operator!=(const error_condition&, const error_condition&)’
540 | operator!=(const error_condition& __lhs,
| ^~~~~~~~
/usr/include/c++/14.3.0/system_error:540:37: note: no known conversion for argument 1 from ‘StringView’ to ‘const std::error_condition&’
540 | operator!=(const error_condition& __lhs,
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/usr/include/c++/14.3.0/variant:1305:18: note: candidate: ‘constexpr bool std::operator!=(monostate, monostate)’
1305 | constexpr bool operator!=(monostate, monostate) noexcept { return false; }
| ^~~~~~~~
/usr/include/c++/14.3.0/variant:1305:29: note: no known conversion for argument 1 from ‘StringView’ to ‘std::monostate’
1305 | constexpr bool operator!=(monostate, monostate) noexcept { return false; }
| ^~~~~~~~~
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp: In function ‘bool check_table_headers(GameP&, std::vector<wxString, std::allocator<wxString> >&, const String&, String&)’:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:90:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<wxString, std::allocator<wxString> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
90 | for (int x = 0; x < headers.size(); ++x) {
| ~~^~~~~~~~~~~~~~~~
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp: In function ‘bool cards_from_table(SetP&, std::vector<wxString, std::allocator<wxString> >&, std::vector<std::vector<boost::intrusive_ptr<ScriptValue> > >&, bool, const String&, std::vector<boost::intrusive_ptr<Card> >&)’:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:126:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<boost::intrusive_ptr<ScriptValue> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
126 | for (int y = 0; y < table.size(); ++y) {
| ~~^~~~~~~~~~~~~~
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:127:25: warning: comparison of integer expressions of different signedness: ‘std::vector<boost::intrusive_ptr<ScriptValue> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
127 | if (table[y].size() != count) {
| ~~~~~~~~~~~~~~~~^~~~~~~~
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:138:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<boost::intrusive_ptr<ScriptValue> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
138 | for (int y = 0; y < table.size(); ++y) {
| ~~^~~~~~~~~~~~~~
/run/build/magicseteditor2/src/gui/add_csv_window.cpp: In member function ‘bool AddCSVWindow::readCSV(std::ifstream&, std::vector<wxString, std::allocator<wxString> >&, std::vector<std::vector<boost::intrusive_ptr<ScriptValue> > >&)’:
/run/build/magicseteditor2/src/gui/add_csv_window.cpp:128:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
128 | for (int y = 0; y < raw_rows.size(); ++y) {
| ~~^~~~~~~~~~~~~~~~~
/run/build/magicseteditor2/src/gui/add_csv_window.cpp:149:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
149 | for (int x = 0; x < headers.size(); ++x) {
| ~~^~~~~~~~~~~~~~~~
/run/build/magicseteditor2/src/gui/add_csv_window.cpp:154:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
154 | for (int y = 1; y < rows.size(); ++y) {
| ~~^~~~~~~~~~~~~
/run/build/magicseteditor2/src/gui/add_csv_window.cpp:157:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
157 | for (int x = 0; x < fields.size(); ++x) {
| ~~^~~~~~~~~~~~~~~
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp: At global scope:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:64:13: warning: ‘bool set_builtin_container(GameP&, CardP&, ScriptValueP&, String)’ defined but not used [-Wunused-function]
64 | static bool set_builtin_container(GameP& game, CardP& card, ScriptValueP& value, String key_name) {
| ^~~~~~~~~~~~~~~~~~~~~
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:41:13: warning: ‘void set_container(Value*, ScriptValueP&, String)’ defined but not used [-Wunused-function]
41 | static void set_container(Value* container, ScriptValueP& value, String key_name) {
| ^~~~~~~~~~~~~
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:24:15: warning: ‘Value* get_container(GameP&, CardP&, String, bool)’ defined but not used [-Wunused-function]
24 | static Value* get_container(GameP& game, CardP& card, String key_name, bool ignore_field_not_found) {
| ^~~~~~~~~~~~~
[58/175] Building CXX object CMakeFiles/magicseteditor.dir/src/gui/about_window.cpp.o
[59/175] Building CXX object CMakeFiles/magicseteditor.dir/src/gui/add_json_window.cpp.o
FAILED: CMakeFiles/magicseteditor.dir/src/gui/add_json_window.cpp.o
/run/ccache/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_REGEX_DYN_LINK -DUNOFFICIAL_BUILD -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -I/run/build/magicseteditor2/src -I/usr/include/hunspell -isystem /app/lib/wx/include/gtk3-unicode-3.3 -isystem /app/include/wx-3.3 -O2 -pipe -g -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -Wall -Wsuggest-override -Wstrict-null-sentinel -Wno-comment -Wno-unused-parameter -O3 -DNDEBUG -std=gnu++17 -Winvalid-pch -include /run/build/magicseteditor2/CMakeFiles/magicseteditor.dir/cmake_pch.hxx -MD -MT CMakeFiles/magicseteditor.dir/src/gui/add_json_window.cpp.o -MF CMakeFiles/magicseteditor.dir/src/gui/add_json_window.cpp.o.d -o CMakeFiles/magicseteditor.dir/src/gui/add_json_window.cpp.o -c /run/build/magicseteditor2/src/gui/add_json_window.cpp
In file included from /run/build/magicseteditor2/src/gui/add_json_window.cpp:22:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp: In function ‘bool set_builtin_container(GameP&, CardP&, ScriptValueP&, String)’:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:33: error: no match for ‘operator!=’ (operand types are ‘StringView’ and ‘const wxChar*’ {aka ‘const wchar_t*’})
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ~~~~~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~
| | |
| StringView const wxChar* {aka const wchar_t*}
In file included from /app/include/wx-3.3/wx/event.h:27,
from /app/include/wx-3.3/wx/wx.h:23,
from /run/build/magicseteditor2/src/util/prec.hpp:29,
from /run/build/magicseteditor2/CMakeFiles/magicseteditor.dir/cmake_pch.hxx:5,
from <command-line>:
/app/include/wx-3.3/wx/itemid.h:56:6: note: candidate: ‘template<class T> bool operator!=(const wxItemId<T>&, const wxItemId<T>&)’
56 | bool operator!=(const wxItemId<T>& left, const wxItemId<T>& right)
| ^~~~~~~~
/app/include/wx-3.3/wx/itemid.h:56:6: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const wxItemId<T>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /usr/include/c++/14.3.0/regex:68,
from /run/build/magicseteditor2/src/gui/add_json_window.cpp:13:
/usr/include/c++/14.3.0/bits/regex.h:1132:5: note: candidate: ‘template<class _BiIter> bool std::__cxx11::operator!=(const sub_match<_BiIter>&, const sub_match<_BiIter>&)’
1132 | operator!=(const sub_match<_BiIter>& __lhs, const sub_match<_BiIter>& __rhs)
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/regex.h:1132:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::__cxx11::sub_match<_BiIter>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/bits/regex.h:1212:5: note: candidate: ‘template<class _Bi_iter, class _Ch_traits, class _Ch_alloc> bool std::__cxx11::operator!=(__sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>&, const sub_match<_BiIter>&)’
1212 | operator!=(const __sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>& __lhs,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/regex.h:1212:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘std::__cxx11::__sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/bits/regex.h:1305:5: note: candidate: ‘template<class _Bi_iter, class _Ch_traits, class _Ch_alloc> bool std::__cxx11::operator!=(const sub_match<_BiIter>&, __sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>&)’
1305 | operator!=(const sub_match<_Bi_iter>& __lhs,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/regex.h:1305:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::__cxx11::sub_match<_BiIter>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/bits/regex.h:1379:5: note: candidate: ‘template<class _Bi_iter> bool std::__cxx11::operator!=(const typename std::iterator_traits<_Iter>::value_type*, const sub_match<_BiIter>&)’
1379 | operator!=(typename iterator_traits<_Bi_iter>::value_type const* __lhs,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/regex.h:1379:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: mismatched types ‘const std::__cxx11::sub_match<_BiIter>’ and ‘const wxChar*’ {aka ‘const wchar_t*’}
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/bits/regex.h:1473:5: note: candidate: ‘template<class _Bi_iter> bool std::__cxx11::operator!=(const sub_match<_BiIter>&, const typename std::iterator_traits<_Iter>::value_type*)’
1473 | operator!=(const sub_match<_Bi_iter>& __lhs,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/regex.h:1473:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::__cxx11::sub_match<_BiIter>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/bits/regex.h:1547:5: note: candidate: ‘template<class _Bi_iter> bool std::__cxx11::operator!=(const typename std::iterator_traits<_Iter>::value_type&, const sub_match<_BiIter>&)’
1547 | operator!=(typename iterator_traits<_Bi_iter>::value_type const& __lhs,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/regex.h:1547:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: mismatched types ‘const std::__cxx11::sub_match<_BiIter>’ and ‘const wxChar*’ {aka ‘const wchar_t*’}
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/bits/regex.h:1647:5: note: candidate: ‘template<class _Bi_iter> bool std::__cxx11::operator!=(const sub_match<_BiIter>&, const typename std::iterator_traits<_Iter>::value_type&)’
1647 | operator!=(const sub_match<_Bi_iter>& __lhs,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/regex.h:1647:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::__cxx11::sub_match<_BiIter>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/bits/regex.h:2213:5: note: candidate: ‘template<class _Bi_iter, class _Alloc> bool std::__cxx11::operator!=(const match_results<_BiIter, _Alloc>&, const match_results<_BiIter, _Alloc>&)’
2213 | operator!=(const match_results<_Bi_iter, _Alloc>& __m1,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/regex.h:2213:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::__cxx11::match_results<_BiIter, _Alloc>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /usr/include/c++/14.3.0/iosfwd:42,
from /app/include/wx-3.3/wx/iosfwrap.h:14,
from /app/include/wx-3.3/wx/buffer.h:17,
from /app/include/wx-3.3/wx/strconv.h:16,
from /app/include/wx-3.3/wx/strvararg.h:28,
from /app/include/wx-3.3/wx/string.h:34,
from /app/include/wx-3.3/wx/object.h:23,
from /app/include/wx-3.3/wx/wx.h:14:
/usr/include/c++/14.3.0/bits/postypes.h:197:5: note: candidate: ‘template<class _StateT> bool std::operator!=(const fpos<_StateT>&, const fpos<_StateT>&)’
197 | operator!=(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/postypes.h:197:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::fpos<_StateT>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /usr/include/c++/14.3.0/string:43,
from /app/include/wx-3.3/wx/unichar.h:16,
from /app/include/wx-3.3/wx/strvararg.h:30:
/usr/include/c++/14.3.0/bits/allocator.h:243:5: note: candidate: ‘template<class _T1, class _T2> bool std::operator!=(const allocator<_CharT>&, const allocator<_T2>&)’
243 | operator!=(const allocator<_T1>&, const allocator<_T2>&)
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/allocator.h:243:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::allocator<_CharT>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /usr/include/c++/14.3.0/string:48:
/usr/include/c++/14.3.0/bits/stl_iterator.h:455:5: note: candidate: ‘template<class _Iterator> constexpr bool std::operator!=(const reverse_iterator<_Iterator>&, const reverse_iterator<_Iterator>&)’
455 | operator!=(const reverse_iterator<_Iterator>& __x,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/stl_iterator.h:455:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::reverse_iterator<_Iterator>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/bits/stl_iterator.h:500:5: note: candidate: ‘template<class _IteratorL, class _IteratorR> constexpr bool std::operator!=(const reverse_iterator<_Iterator>&, const reverse_iterator<_IteratorR>&)’
500 | operator!=(const reverse_iterator<_IteratorL>& __x,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/stl_iterator.h:500:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::reverse_iterator<_Iterator>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/bits/stl_iterator.h:1686:5: note: candidate: ‘template<class _IteratorL, class _IteratorR> constexpr bool std::operator!=(const move_iterator<_IteratorL>&, const move_iterator<_IteratorR>&)’
1686 | operator!=(const move_iterator<_IteratorL>& __x,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/stl_iterator.h:1686:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::move_iterator<_IteratorL>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/bits/stl_iterator.h:1753:5: note: candidate: ‘template<class _Iterator> constexpr bool std::operator!=(const move_iterator<_IteratorL>&, const move_iterator<_IteratorL>&)’
1753 | operator!=(const move_iterator<_Iterator>& __x,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/stl_iterator.h:1753:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::move_iterator<_IteratorL>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /usr/include/c++/14.3.0/bits/stl_algobase.h:64,
from /usr/include/c++/14.3.0/string:51:
/usr/include/c++/14.3.0/bits/stl_pair.h:1052:5: note: candidate: ‘template<class _T1, class _T2> constexpr bool std::operator!=(const pair<_T1, _T2>&, const pair<_T1, _T2>&)’
1052 | operator!=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/stl_pair.h:1052:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::pair<_T1, _T2>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /usr/include/c++/14.3.0/bits/basic_string.h:47,
from /usr/include/c++/14.3.0/string:54:
/usr/include/c++/14.3.0/string_view:651:5: note: candidate: ‘template<class _CharT, class _Traits> constexpr bool std::operator!=(basic_string_view<_CharT, _Traits>, basic_string_view<_CharT, _Traits>)’
651 | operator!=(basic_string_view<_CharT, _Traits> __x,
| ^~~~~~~~
/usr/include/c++/14.3.0/string_view:651:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘std::basic_string_view<_CharT, _Traits>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/string_view:658:5: note: candidate: ‘template<class _CharT, class _Traits> constexpr bool std::operator!=(basic_string_view<_CharT, _Traits>, __type_identity_t<basic_string_view<_CharT, _Traits> >)’
658 | operator!=(basic_string_view<_CharT, _Traits> __x,
| ^~~~~~~~
/usr/include/c++/14.3.0/string_view:658:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘std::basic_string_view<_CharT, _Traits>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/string_view:666:5: note: candidate: ‘template<class _CharT, class _Traits> constexpr bool std::operator!=(__type_identity_t<basic_string_view<_CharT, _Traits> >, basic_string_view<_CharT, _Traits>)’
666 | operator!=(__type_identity_t<basic_string_view<_CharT, _Traits>> __x,
| ^~~~~~~~
/usr/include/c++/14.3.0/string_view:666:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: mismatched types ‘std::basic_string_view<_CharT, _Traits>’ and ‘const wxChar*’ {aka ‘const wchar_t*’}
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/bits/basic_string.h:3833:5: note: candidate: ‘template<class _CharT, class _Traits, class _Alloc> bool std::operator!=(const __cxx11::basic_string<_CharT, _Traits, _Allocator>&, const __cxx11::basic_string<_CharT, _Traits, _Allocator>&)’
3833 | operator!=(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/basic_string.h:3833:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/bits/basic_string.h:3847:5: note: candidate: ‘template<class _CharT, class _Traits, class _Alloc> bool std::operator!=(const _CharT*, const __cxx11::basic_string<_CharT, _Traits, _Allocator>&)’
3847 | operator!=(const _CharT* __lhs,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/basic_string.h:3847:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: mismatched types ‘const _CharT*’ and ‘StringView’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/bits/basic_string.h:3860:5: note: candidate: ‘template<class _CharT, class _Traits, class _Alloc> bool std::operator!=(const __cxx11::basic_string<_CharT, _Traits, _Allocator>&, const _CharT*)’
3860 | operator!=(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/basic_string.h:3860:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /usr/include/c++/14.3.0/bits/memory_resource.h:47,
from /usr/include/c++/14.3.0/string:68:
/usr/include/c++/14.3.0/tuple:2615:5: note: candidate: ‘template<class ... _TElements, class ... _UElements> constexpr bool std::operator!=(const tuple<_UTypes ...>&, const tuple<_Elements ...>&)’
2615 | operator!=(const tuple<_TElements...>& __t,
| ^~~~~~~~
/usr/include/c++/14.3.0/tuple:2615:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::tuple<_UTypes ...>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /usr/include/c++/14.3.0/vector:66,
from /app/include/wx-3.3/wx/strvararg.h:34:
/usr/include/c++/14.3.0/bits/stl_vector.h:2117:5: note: candidate: ‘template<class _Tp, class _Alloc> bool std::operator!=(const vector<_Tp, _Alloc>&, const vector<_Tp, _Alloc>&)’
2117 | operator!=(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/stl_vector.h:2117:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::vector<_Tp, _Alloc>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /usr/include/c++/14.3.0/functional:59,
from /app/include/wx-3.3/wx/string.h:4162:
/usr/include/c++/14.3.0/bits/std_function.h:761:5: note: candidate: ‘template<class _Res, class ... _Args> bool std::operator!=(const function<_Res(_ArgTypes ...)>&, nullptr_t)’
761 | operator!=(const function<_Res(_Args...)>& __f, nullptr_t) noexcept
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/std_function.h:761:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::function<_Res(_ArgTypes ...)>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/bits/std_function.h:767:5: note: candidate: ‘template<class _Res, class ... _Args> bool std::operator!=(nullptr_t, const function<_Res(_ArgTypes ...)>&)’
767 | operator!=(nullptr_t, const function<_Res(_Args...)>& __f) noexcept
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/std_function.h:767:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: mismatched types ‘const std::function<_Res(_ArgTypes ...)>’ and ‘const wxChar*’ {aka ‘const wchar_t*’}
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /usr/include/c++/14.3.0/unordered_map:41,
from /usr/include/c++/14.3.0/functional:63:
/usr/include/c++/14.3.0/bits/unordered_map.h:2151:5: note: candidate: ‘template<class _Key, class _Tp, class _Hash, class _Pred, class _Alloc> bool std::operator!=(const unordered_map<_Key1, _Tp1, _Hash1, _Pred1, _Alloc1>&, const unordered_map<_Key1, _Tp1, _Hash1, _Pred1, _Alloc1>&)’
2151 | operator!=(const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/unordered_map.h:2151:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::unordered_map<_Key1, _Tp1, _Hash1, _Pred1, _Alloc1>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/bits/unordered_map.h:2165:5: note: candidate: ‘template<class _Key, class _Tp, class _Hash, class _Pred, class _Alloc> bool std::operator!=(const unordered_multimap<_Key1, _Tp1, _Hash1, _Pred1, _Alloc1>&, const unordered_multimap<_Key1, _Tp1, _Hash1, _Pred1, _Alloc1>&)’
2165 | operator!=(const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/unordered_map.h:2165:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::unordered_multimap<_Key1, _Tp1, _Hash1, _Pred1, _Alloc1>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /usr/include/c++/14.3.0/functional:65:
/usr/include/c++/14.3.0/array:332:5: note: candidate: ‘template<class _Tp, long unsigned int _Nm> bool std::operator!=(const array<_Tp, _Nm>&, const array<_Tp, _Nm>&)’
332 | operator!=(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
| ^~~~~~~~
/usr/include/c++/14.3.0/array:332:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::array<_Tp, _Nm>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /usr/include/c++/14.3.0/iterator:66,
from /app/include/wx-3.3/wx/list.h:39,
from /app/include/wx-3.3/wx/wx.h:16:
/usr/include/c++/14.3.0/bits/streambuf_iterator.h:242:5: note: candidate: ‘template<class _CharT, class _Traits> bool std::operator!=(const istreambuf_iterator<_CharT, _Traits>&, const istreambuf_iterator<_CharT, _Traits>&)’
242 | operator!=(const istreambuf_iterator<_CharT, _Traits>& __a,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/streambuf_iterator.h:242:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::istreambuf_iterator<_CharT, _Traits>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /usr/include/c++/14.3.0/list:65,
from /app/include/wx-3.3/wx/list.h:40:
/usr/include/c++/14.3.0/bits/stl_list.h:2196:5: note: candidate: ‘template<class _Tp, class _Alloc> bool std::operator!=(const __cxx11::list<_Tp, _Alloc>&, const __cxx11::list<_Tp, _Alloc>&)’
2196 | operator!=(const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y)
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/stl_list.h:2196:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::__cxx11::list<_Tp, _Alloc>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /usr/include/c++/14.3.0/memory:78,
from /app/include/wx-3.3/wx/translation.h:31,
from /app/include/wx-3.3/wx/intl.h:18,
from /app/include/wx-3.3/wx/wx.h:21:
/usr/include/c++/14.3.0/bits/unique_ptr.h:862:5: note: candidate: ‘template<class _Tp, class _Dp, class _Up, class _Ep> bool std::operator!=(const unique_ptr<_Tp, _Dp>&, const unique_ptr<_Up, _Ep>&)’
862 | operator!=(const unique_ptr<_Tp, _Dp>& __x,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/unique_ptr.h:862:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::unique_ptr<_Tp, _Dp>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/bits/unique_ptr.h:870:5: note: candidate: ‘template<class _Tp, class _Dp> bool std::operator!=(const unique_ptr<_Tp, _Dp>&, nullptr_t)’
870 | operator!=(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/unique_ptr.h:870:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::unique_ptr<_Tp, _Dp>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/bits/unique_ptr.h:877:5: note: candidate: ‘template<class _Tp, class _Dp> bool std::operator!=(nullptr_t, const unique_ptr<_Tp, _Dp>&)’
877 | operator!=(nullptr_t, const unique_ptr<_Tp, _Dp>& __x) noexcept
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/unique_ptr.h:877:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: mismatched types ‘const std::unique_ptr<_Tp, _Dp>’ and ‘const wxChar*’ {aka ‘const wchar_t*’}
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /usr/include/c++/14.3.0/bits/shared_ptr.h:53,
from /usr/include/c++/14.3.0/memory:80:
/usr/include/c++/14.3.0/bits/shared_ptr_base.h:1828:5: note: candidate: ‘template<class _Tp1, class _Tp2, __gnu_cxx::_Lock_policy _Lp> bool std::operator!=(const __shared_ptr<_Tp1, _Lp>&, const __shared_ptr<_Tp2, _Lp>&)’
1828 | operator!=(const __shared_ptr<_Tp1, _Lp>& __a,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/shared_ptr_base.h:1828:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::__shared_ptr<_Tp1, _Lp>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/bits/shared_ptr_base.h:1834:5: note: candidate: ‘template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator!=(const __shared_ptr<_Tp, _Lp>&, nullptr_t)’
1834 | operator!=(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/shared_ptr_base.h:1834:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::__shared_ptr<_Tp, _Lp>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/bits/shared_ptr_base.h:1839:5: note: candidate: ‘template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator!=(nullptr_t, const __shared_ptr<_Tp, _Lp>&)’
1839 | operator!=(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/shared_ptr_base.h:1839:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: mismatched types ‘const std::__shared_ptr<_Tp, _Lp>’ and ‘const wxChar*’ {aka ‘const wchar_t*’}
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/bits/shared_ptr.h:587:5: note: candidate: ‘template<class _Tp, class _Up> bool std::operator!=(const shared_ptr<_Tp>&, const shared_ptr<_Tp>&)’
587 | operator!=(const shared_ptr<_Tp>& __a, const shared_ptr<_Up>& __b) noexcept
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/shared_ptr.h:587:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::shared_ptr<_Tp>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/bits/shared_ptr.h:593:5: note: candidate: ‘template<class _Tp> bool std::operator!=(const shared_ptr<_Tp>&, nullptr_t)’
593 | operator!=(const shared_ptr<_Tp>& __a, nullptr_t) noexcept
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/shared_ptr.h:593:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::shared_ptr<_Tp>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/bits/shared_ptr.h:599:5: note: candidate: ‘template<class _Tp> bool std::operator!=(nullptr_t, const shared_ptr<_Tp>&)’
599 | operator!=(nullptr_t, const shared_ptr<_Tp>& __a) noexcept
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/shared_ptr.h:599:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: mismatched types ‘const std::shared_ptr<_Tp>’ and ‘const wxChar*’ {aka ‘const wchar_t*’}
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /usr/include/c++/14.3.0/map:63,
from /run/build/magicseteditor2/src/util/prec.hpp:41:
/usr/include/c++/14.3.0/bits/stl_map.h:1557:5: note: candidate: ‘template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator!=(const map<_Key, _Tp, _Compare, _Allocator>&, const map<_Key, _Tp, _Compare, _Allocator>&)’
1557 | operator!=(const map<_Key, _Tp, _Compare, _Alloc>& __x,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/stl_map.h:1557:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::map<_Key, _Tp, _Compare, _Allocator>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /usr/include/c++/14.3.0/map:64:
/usr/include/c++/14.3.0/bits/stl_multimap.h:1179:5: note: candidate: ‘template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator!=(const multimap<_Key, _Tp, _Compare, _Allocator>&, const multimap<_Key, _Tp, _Compare, _Allocator>&)’
1179 | operator!=(const multimap<_Key, _Tp, _Compare, _Alloc>& __x,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/stl_multimap.h:1179:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::multimap<_Key, _Tp, _Compare, _Allocator>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /usr/include/c++/14.3.0/set:63,
from /run/build/magicseteditor2/src/util/prec.hpp:42:
/usr/include/c++/14.3.0/bits/stl_set.h:1032:5: note: candidate: ‘template<class _Key, class _Compare, class _Alloc> bool std::operator!=(const set<_Key, _Compare, _Allocator>&, const set<_Key, _Compare, _Allocator>&)’
1032 | operator!=(const set<_Key, _Compare, _Alloc>& __x,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/stl_set.h:1032:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::set<_Key, _Compare, _Allocator>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /usr/include/c++/14.3.0/set:64:
/usr/include/c++/14.3.0/bits/stl_multiset.h:1018:5: note: candidate: ‘template<class _Key, class _Compare, class _Alloc> bool std::operator!=(const multiset<_Key, _Compare, _Allocator>&, const multiset<_Key, _Compare, _Allocator>&)’
1018 | operator!=(const multiset<_Key, _Compare, _Alloc>& __x,
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/stl_multiset.h:1018:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::multiset<_Key, _Compare, _Allocator>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /run/build/magicseteditor2/src/gfx/color.hpp:17,
from /run/build/magicseteditor2/src/script/value.hpp:12,
from /run/build/magicseteditor2/src/util/io/get_member.hpp:12,
from /run/build/magicseteditor2/src/util/reflect.hpp:18,
from /run/build/magicseteditor2/src/util/prec.hpp:97:
/usr/include/c++/14.3.0/optional:1241:5: note: candidate: ‘template<class _Tp, class _Up> constexpr std::__optional_ne_t<_Tp, _Up> std::operator!=(const optional<_Tp>&, const optional<_Up>&)’
1241 | operator!=(const optional<_Tp>& __lhs, const optional<_Up>& __rhs)
| ^~~~~~~~
/usr/include/c++/14.3.0/optional:1241:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::optional<_Tp>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/optional:1308:5: note: candidate: ‘template<class _Tp> constexpr bool std::operator!=(const optional<_Tp>&, nullopt_t)’
1308 | operator!=(const optional<_Tp>& __lhs, nullopt_t) noexcept
| ^~~~~~~~
/usr/include/c++/14.3.0/optional:1308:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::optional<_Tp>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/optional:1313:5: note: candidate: ‘template<class _Tp> constexpr bool std::operator!=(nullopt_t, const optional<_Tp>&)’
1313 | operator!=(nullopt_t, const optional<_Tp>& __rhs) noexcept
| ^~~~~~~~
/usr/include/c++/14.3.0/optional:1313:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: mismatched types ‘const std::optional<_Tp>’ and ‘const wxChar*’ {aka ‘const wchar_t*’}
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/optional:1372:5: note: candidate: ‘template<class _Tp, class _Up> constexpr std::__optional_ne_t<_Tp, _Up> std::operator!=(const optional<_Tp>&, const _Up&)’
1372 | operator!=(const optional<_Tp>& __lhs, const _Up& __rhs)
| ^~~~~~~~
/usr/include/c++/14.3.0/optional:1372:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::optional<_Tp>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/optional:1378:5: note: candidate: ‘template<class _Tp, class _Up> constexpr std::__optional_ne_t<_Up, _Tp> std::operator!=(const _Up&, const optional<_Tp>&)’
1378 | operator!=(const _Up& __lhs, const optional<_Tp>& __rhs)
| ^~~~~~~~
/usr/include/c++/14.3.0/optional:1378:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: mismatched types ‘const std::optional<_Tp>’ and ‘const wxChar*’ {aka ‘const wchar_t*’}
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /app/include/boost/container_hash/hash.hpp:115,
from /app/include/boost/regex/v4/basic_regex.hpp:23,
from /app/include/boost/regex/v4/regex.hpp:67,
from /app/include/boost/regex.hpp:31,
from /run/build/magicseteditor2/src/util/regex.hpp:27,
from /run/build/magicseteditor2/src/util/prec.hpp:98:
/usr/include/c++/14.3.0/variant:1267:3: note: candidate: ‘template<class ... _Types> constexpr bool std::operator!=(const variant<_Types ...>&, const variant<_Types ...>&)’
1267 | _VARIANT_RELATION_FUNCTION_TEMPLATE(!=, not_equal)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/14.3.0/variant:1267:3: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::variant<_Types ...>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /usr/include/c++/14.3.0/deque:66,
from /app/include/boost/detail/container_fwd.hpp:91,
from /app/include/boost/container_hash/extensions.hpp:22,
from /app/include/boost/container_hash/hash.hpp:761:
/usr/include/c++/14.3.0/bits/stl_deque.h:2342:5: note: candidate: ‘template<class _Tp, class _Alloc> bool std::operator!=(const deque<_Tp, _Alloc>&, const deque<_Tp, _Alloc>&)’
2342 | operator!=(const deque<_Tp, _Alloc>& __x, const deque<_Tp, _Alloc>& __y)
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/stl_deque.h:2342:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::deque<_Tp, _Alloc>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /app/include/boost/detail/container_fwd.hpp:98:
/usr/include/c++/14.3.0/complex:491:5: note: candidate: ‘template<class _Tp> constexpr bool std::operator!=(const complex<_Tp>&, const complex<_Tp>&)’
491 | operator!=(const complex<_Tp>& __x, const complex<_Tp>& __y)
| ^~~~~~~~
/usr/include/c++/14.3.0/complex:491:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::complex<_Tp>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/complex:496:5: note: candidate: ‘template<class _Tp> constexpr bool std::operator!=(const complex<_Tp>&, const _Tp&)’
496 | operator!=(const complex<_Tp>& __x, const _Tp& __y)
| ^~~~~~~~
/usr/include/c++/14.3.0/complex:496:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::complex<_Tp>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
/usr/include/c++/14.3.0/complex:501:5: note: candidate: ‘template<class _Tp> constexpr bool std::operator!=(const _Tp&, const complex<_Tp>&)’
501 | operator!=(const _Tp& __x, const complex<_Tp>& __y)
| ^~~~~~~~
/usr/include/c++/14.3.0/complex:501:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: mismatched types ‘const std::complex<_Tp>’ and ‘const wxChar*’ {aka ‘const wchar_t*’}
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /usr/include/c++/14.3.0/stack:63,
from /usr/include/c++/14.3.0/regex:43:
/usr/include/c++/14.3.0/bits/stl_stack.h:380:5: note: candidate: ‘template<class _Tp, class _Seq> bool std::operator!=(const stack<_Tp, _Seq>&, const stack<_Tp, _Seq>&)’
380 | operator!=(const stack<_Tp, _Seq>& __x, const stack<_Tp, _Seq>& __y)
| ^~~~~~~~
/usr/include/c++/14.3.0/bits/stl_stack.h:380:5: note: template argument deduction/substitution failed:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:71:36: note: ‘StringView’ is not derived from ‘const std::stack<_Tp, _Seq>’
71 | if (trim(value->toString()) != wxEmptyString) card->stylesheet = StyleSheet::byGameAndName(*game, value->toString());
| ^~~~~~~~~~~~~
In file included from /app/include/wx-3.3/wx/window.h:23,
from /app/include/wx-3.3/wx/wx.h:36:
/app/include/wx-3.3/wx/font.h:677:13: note: candidate: ‘bool operator!=(wxFontFamily, wxDeprecatedGUIConstants)’
677 | inline bool operator!=(wxFontFamily s, wxDeprecatedGUIConstants t)
| ^~~~~~~~
/app/include/wx-3.3/wx/font.h:677:37: note: no known conversion for argument 1 from ‘StringView’ to ‘wxFontFamily’
677 | inline bool operator!=(wxFontFamily s, wxDeprecatedGUIConstants t)
| ~~~~~~~~~~~~~^
/app/include/wx-3.3/wx/font.h:683:13: note: candidate: ‘bool operator!=(wxFontStyle, wxDeprecatedGUIConstants)’
683 | inline bool operator!=(wxFontStyle s, wxDeprecatedGUIConstants t)
| ^~~~~~~~
/app/include/wx-3.3/wx/font.h:683:36: note: no known conversion for argument 1 from ‘StringView’ to ‘wxFontStyle’
683 | inline bool operator!=(wxFontStyle s, wxDeprecatedGUIConstants t)
| ~~~~~~~~~~~~^
/app/include/wx-3.3/wx/font.h:689:13: note: candidate: ‘bool operator!=(wxFontWeight, wxDeprecatedGUIConstants)’
689 | inline bool operator!=(wxFontWeight s, wxDeprecatedGUIConstants t)
| ^~~~~~~~
/app/include/wx-3.3/wx/font.h:689:37: note: no known conversion for argument 1 from ‘StringView’ to ‘wxFontWeight’
689 | inline bool operator!=(wxFontWeight s, wxDeprecatedGUIConstants t)
| ~~~~~~~~~~~~~^
In file included from /app/include/wx-3.3/wx/generic/statusbr.h:18,
from /app/include/wx-3.3/wx/statusbr.h:264,
from /app/include/wx-3.3/wx/frame.h:18,
from /app/include/wx-3.3/wx/wx.h:40:
/app/include/wx-3.3/wx/pen.h:145:13: note: candidate: ‘bool operator!=(wxPenStyle, wxDeprecatedGUIConstants)’
145 | inline bool operator!=(wxPenStyle s, wxDeprecatedGUIConstants t)
| ^~~~~~~~
/app/include/wx-3.3/wx/pen.h:145:35: note: no known conversion for argument 1 from ‘StringView’ to ‘wxPenStyle’
145 | inline bool operator!=(wxPenStyle s, wxDeprecatedGUIConstants t)
| ~~~~~~~~~~~^
In file included from /app/include/wx-3.3/wx/dc.h:23,
from /app/include/wx-3.3/wx/wx.h:49:
/app/include/wx-3.3/wx/brush.h:114:13: note: candidate: ‘bool operator!=(wxBrushStyle, wxDeprecatedGUIConstants)’
114 | inline bool operator!=(wxBrushStyle s, wxDeprecatedGUIConstants t)
| ^~~~~~~~
/app/include/wx-3.3/wx/brush.h:114:37: note: no known conversion for argument 1 from ‘StringView’ to ‘wxBrushStyle’
114 | inline bool operator!=(wxBrushStyle s, wxDeprecatedGUIConstants t)
| ~~~~~~~~~~~~~^
In file included from /usr/include/c++/14.3.0/bits/ios_base.h:46,
from /usr/include/c++/14.3.0/streambuf:43,
from /usr/include/c++/14.3.0/bits/streambuf_iterator.h:35:
/usr/include/c++/14.3.0/system_error:525:3: note: candidate: ‘bool std::operator!=(const error_code&, const error_code&)’
525 | operator!=(const error_code& __lhs, const error_code& __rhs) noexcept
| ^~~~~~~~
/usr/include/c++/14.3.0/system_error:525:32: note: no known conversion for argument 1 from ‘StringView’ to ‘const std::error_code&’
525 | operator!=(const error_code& __lhs, const error_code& __rhs) noexcept
| ~~~~~~~~~~~~~~~~~~^~~~~
/usr/include/c++/14.3.0/system_error:530:3: note: candidate: ‘bool std::operator!=(const error_code&, const error_condition&)’
530 | operator!=(const error_code& __lhs, const error_condition& __rhs) noexcept
| ^~~~~~~~
/usr/include/c++/14.3.0/system_error:530:32: note: no known conversion for argument 1 from ‘StringView’ to ‘const std::error_code&’
530 | operator!=(const error_code& __lhs, const error_condition& __rhs) noexcept
| ~~~~~~~~~~~~~~~~~~^~~~~
/usr/include/c++/14.3.0/system_error:535:3: note: candidate: ‘bool std::operator!=(const error_condition&, const error_code&)’
535 | operator!=(const error_condition& __lhs, const error_code& __rhs) noexcept
| ^~~~~~~~
/usr/include/c++/14.3.0/system_error:535:37: note: no known conversion for argument 1 from ‘StringView’ to ‘const std::error_condition&’
535 | operator!=(const error_condition& __lhs, const error_code& __rhs) noexcept
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/usr/include/c++/14.3.0/system_error:540:3: note: candidate: ‘bool std::operator!=(const error_condition&, const error_condition&)’
540 | operator!=(const error_condition& __lhs,
| ^~~~~~~~
/usr/include/c++/14.3.0/system_error:540:37: note: no known conversion for argument 1 from ‘StringView’ to ‘const std::error_condition&’
540 | operator!=(const error_condition& __lhs,
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/usr/include/c++/14.3.0/variant:1305:18: note: candidate: ‘constexpr bool std::operator!=(monostate, monostate)’
1305 | constexpr bool operator!=(monostate, monostate) noexcept { return false; }
| ^~~~~~~~
/usr/include/c++/14.3.0/variant:1305:29: note: no known conversion for argument 1 from ‘StringView’ to ‘std::monostate’
1305 | constexpr bool operator!=(monostate, monostate) noexcept { return false; }
| ^~~~~~~~~
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp: In function ‘bool check_table_headers(GameP&, std::vector<wxString, std::allocator<wxString> >&, const String&, String&)’:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:90:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<wxString, std::allocator<wxString> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
90 | for (int x = 0; x < headers.size(); ++x) {
| ~~^~~~~~~~~~~~~~~~
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp: In function ‘bool cards_from_table(SetP&, std::vector<wxString, std::allocator<wxString> >&, std::vector<std::vector<boost::intrusive_ptr<ScriptValue> > >&, bool, const String&, std::vector<boost::intrusive_ptr<Card> >&)’:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:126:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<boost::intrusive_ptr<ScriptValue> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
126 | for (int y = 0; y < table.size(); ++y) {
| ~~^~~~~~~~~~~~~~
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:127:25: warning: comparison of integer expressions of different signedness: ‘std::vector<boost::intrusive_ptr<ScriptValue> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
127 | if (table[y].size() != count) {
| ~~~~~~~~~~~~~~~~^~~~~~~~
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:138:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<boost::intrusive_ptr<ScriptValue> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
138 | for (int y = 0; y < table.size(); ++y) {
| ~~^~~~~~~~~~~~~~
/run/build/magicseteditor2/src/gui/add_json_window.cpp: In function ‘ScriptValueP json_to_script(boost::json::value&)’:
/run/build/magicseteditor2/src/gui/add_json_window.cpp:87:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
87 | for (int i = 0; i < array.size(); ++i) {
| ~~^~~~~~~~~~~~~~
/run/build/magicseteditor2/src/gui/add_json_window.cpp: In member function ‘void AddJSONWindow::setJSONType()’:
/run/build/magicseteditor2/src/gui/add_json_window.cpp:116:11: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
116 | if (sel == json_type->GetCount() - 1) { // Custom type
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/run/build/magicseteditor2/src/gui/add_json_window.cpp:125:56: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
125 | card_array_path->ChangeValue(delimiter_pos + 2 < type.Length() ? type.substr(delimiter_pos + 2).Trim().Trim(false) : wxString());
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/run/build/magicseteditor2/src/gui/add_json_window.cpp: In member function ‘bool AddJSONWindow::readJSON(std::ifstream&, std::vector<wxString, std::allocator<wxString> >&, std::vector<std::vector<boost::intrusive_ptr<ScriptValue> > >&)’:
/run/build/magicseteditor2/src/gui/add_json_window.cpp:166:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
166 | for (int t = 0; t < tokens.size(); ++t) {
| ~~^~~~~~~~~~~~~~~
/run/build/magicseteditor2/src/gui/add_json_window.cpp:195:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (int i = 0; i < count; ++i) {
| ~~^~~~~~~
/run/build/magicseteditor2/src/gui/add_json_window.cpp:208:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
208 | for (int i = 0; i < count; ++i) {
| ~~^~~~~~~
/run/build/magicseteditor2/src/gui/add_json_window.cpp:211:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<wxString, std::allocator<wxString> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
211 | for (int h = 0; h < headers_out.size(); ++h) {
| ~~^~~~~~~~~~~~~~~~~~~~
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp: At global scope:
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:64:13: warning: ‘bool set_builtin_container(GameP&, CardP&, ScriptValueP&, String)’ defined but not used [-Wunused-function]
64 | static bool set_builtin_container(GameP& game, CardP& card, ScriptValueP& value, String key_name) {
| ^~~~~~~~~~~~~~~~~~~~~
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:41:13: warning: ‘void set_container(Value*, ScriptValueP&, String)’ defined but not used [-Wunused-function]
41 | static void set_container(Value* container, ScriptValueP& value, String key_name) {
| ^~~~~~~~~~~~~
/run/build/magicseteditor2/src/script/functions/construction_helper.hpp:24:15: warning: ‘Value* get_container(GameP&, CardP&, String, bool)’ defined but not used [-Wunused-function]
24 | static Value* get_container(GameP& game, CardP& card, String key_name, bool ignore_field_not_found) {
| ^~~~~~~~~~~~~
[60/175] Building CXX object CMakeFiles/magicseteditor.dir/src/gui/card_select_window.cpp.o
[61/175] Building CXX object CMakeFiles/magicseteditor.dir/src/gui/auto_replace_window.cpp.o
[62/175] Building CXX object CMakeFiles/magicseteditor.dir/src/data/symbol_font.cpp.o
/run/build/magicseteditor2/src/data/symbol_font.cpp: In function ‘void after_reading(InsertSymbolMenu&, Version)’:
/run/build/magicseteditor2/src/data/symbol_font.cpp:547:45: warning: ‘String tr(const Package&, const String&, const String&, DefaultLocaleFun)’ is deprecated [-Wdeprecated-declarations]
547 | if (m.label.empty()) m.label.default_ = tr(*symbol_font_for_reading(), _("menu_item"), m.name, capitalize);
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /run/build/magicseteditor2/src/util/prec.hpp:95,
from /run/build/magicseteditor2/CMakeFiles/magicseteditor.dir/cmake_pch.hxx:5,
from <command-line>:
/run/build/magicseteditor2/src/util/locale.hpp:59:8: note: declared here
59 | String tr(const Package&, const String& subcat, const String& key, DefaultLocaleFun def);
| ^~
/run/build/magicseteditor2/src/data/symbol_font.cpp:548:47: warning: ‘String tr(const Package&, const String&, const String&, DefaultLocaleFun)’ is deprecated [-Wdeprecated-declarations]
548 | if (m.prompt.empty()) m.prompt.default_ = tr(*symbol_font_for_reading(), _("message"), m.name, capitalize_sentence);
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/run/build/magicseteditor2/src/util/locale.hpp:59:8: note: declared here
59 | String tr(const Package&, const String& subcat, const String& key, DefaultLocaleFun def);
| ^~
[63/175] Building CXX object CMakeFiles/magicseteditor.dir/src/gui/control/card_editor.cpp.o
In file included from /run/build/magicseteditor2/src/gui/control/card_editor.cpp:10:
/run/build/magicseteditor2/src/gui/control/card_editor.cpp: In member function ‘ValueViewer* DataEditor::mousedOverViewer(const wxMouseEvent&, bool*) const’:
/run/build/magicseteditor2/src/gui/control/card_editor.hpp:154:22: warning: unused variable ‘e’ [-Wunused-variable]
154 | if (ValueEditor* e = v->getEditor())
| ^
/run/build/magicseteditor2/src/gui/control/card_editor.cpp:418:3: note: in expansion of macro ‘FOR_EACH_EDITOR_REVERSE’
418 | FOR_EACH_EDITOR_REVERSE{ // find high z index fields first
| ^~~~~~~~~~~~~~~~~~~~~~~
[64/175] Building CXX object CMakeFiles/magicseteditor.dir/src/gfx/combine_image.cpp.o
ninja: build stopped: subcommand failed.
Error: module magicseteditor2: Child process exited with code 1
make: *** [Makefile:40: flatpak] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment