[MacPorts] #64660: inkscape: build failure due to "no template named 'optional' in namespace 'std'"
MacPorts
noreply at macports.org
Mon Feb 14 04:34:11 UTC 2022
#64660: inkscape: build failure due to "no template named 'optional' in namespace
'std'"
-------------------------------+----------------------
Reporter: dyne2meter | Owner: mascguy
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords:
Port: inkscape poppler |
-------------------------------+----------------------
Changes (by jmroot):
* cc: dbevans (added)
* port: inkscape => inkscape poppler
Comment:
Replying to [comment:2 reneeotten]:
> not sure, but isn't `std:optional` only valid in C++17; if so it's
probably not using a new enough compiler on these old(er) systems.
That's right. Looks like poppler is now requiring its dependents to build
as C++17. That's a bit of extra pain here because inkscape seems to be
explicitly adding `-std=c++11`.
--
Ticket URL: <https://trac.macports.org/ticket/64660#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list