[MacPorts] #67722: gnucash @5.3: error: no member named 'merge' in 'std::__1::map
MacPorts
noreply at macports.org
Wed Jul 5 18:35:40 UTC 2023
#67722: gnucash @5.3: error: no member named 'merge' in 'std::__1::map
------------------------+----------------------
Reporter: ryandesign | Owner: drkp
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Keywords: mojave | Port: gnucash
------------------------+----------------------
[https://build.macports.org/builders/ports-10.14_x86_64-builder/builds/171385/steps
/install-port/logs/stdio gnucash 5.3 fails to build] on Mojave:
{{{
gnucash/import-export/csv-imp/gnc-import-tx.cpp:904:20: error: no member
named 'merge' in 'std::__1::map<GncTransPropType,
std::__1::basic_string<char>, std::__1::less<GncTransPropType>,
std::__1::allocator<std::__1::pair<const GncTransPropType,
std::__1::basic_string<char> > > >'
all_errors.merge (split_props->errors());
~~~~~~~~~~ ^
}}}
It [https://stackoverflow.com/questions/50444908/clang-6-not-supporting-
unordered-mapmerge sounds like] Apple clang didn't support `merge` until
recently while llvm.org's clang does, so those older Apple clangs should
be excluded with:
{{{
PortGroup compiler_blacklist_versions 1.0
}}}
{{{
compiler.blacklist-append {clang < 1100}
}}}
On High Sierra and earlier, it fails with a different error; see #67545.
--
Ticket URL: <https://trac.macports.org/ticket/67722>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list