Opened 20 months ago

Closed 20 months ago

Last modified 20 months ago

#65844 closed defect (fixed)

libphonenumber-cpp needs C++14

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc: mascguy (Christopher Nielsen)
Port: libphonenumber-cpp

Description

libphonenumber-cpp needs C++14:

https://build.macports.org/builders/ports-10.8_x86_64-builder/builds/102088/steps/install-port/logs/stdio

/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_libphonenumber-cpp/libphonenumber-cpp/work/build/_deps/abseil-cpp-src/absl/base/policy_checks.h:79:2: error: "C++ versions less than C++14 are not supported."
#error "C++ versions less than C++14 are not supported."

Change History (6)

comment:1 Changed 20 months ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:2 Changed 20 months ago by Christopher Nielsen <mascguy@…>

Resolution: fixed
Status: assignedclosed

In f64d2b48cd647109a031321252a996e16b3ce48c/macports-ports (master):

libphonenumber-cpp: needs cxx 2014
Fixes: #65844

comment:3 Changed 20 months ago by Christopher Nielsen <mascguy@…>

In 0b1d4a117584b3943a5e13944aa0fac0b24bbc62/macports-ports (master):

libphonenumber-cpp: needs cxx 2017
Fixes: #65844

comment:4 Changed 20 months ago by Christopher Nielsen <mascguy@…>

In b06d41480d872ad7e0ad0ed016fb17059bc632b6/macports-ports (master):

libphonenumber-cpp: use legacysupport for MAP_ANONYMOUS
See: #65844

comment:5 in reply to:  3 ; Changed 20 months ago by ryandesign (Ryan Carsten Schmidt)

Replying to Christopher Nielsen <mascguy@…>:

libphonenumber-cpp: needs cxx 2017

Why do you think it needs C++17?

comment:6 in reply to:  5 Changed 20 months ago by mascguy (Christopher Nielsen)

Replying to ryandesign:

Why do you think it needs C++17?

While the project itself may spec 2014, that may not be sufficient for the internal build of Abseil:

https://build.macports.org/builders/ports-10.13_x86_64-builder/builds/163141/steps/install-port/logs/stdio

Note: See TracTickets for help on using tickets.