Discussion:
[MacPorts] #57682: nghttp2: Requires C++14
MacPorts
2018-11-26 21:31:48 UTC
Permalink
#57682: nghttp2: Requires C++14
------------------------+-------------------------
Reporter: ryandesign | Owner: Schamschula
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: nghttp2
------------------------+-------------------------
[https://build.macports.org/builders/ports-10.9_x86_64-builder/builds/74611/steps
/install-port/logs/stdio nghttp2 fails to build on 10.9]:

{{{
checking whether /usr/bin/clang++ supports C++14 features with
-std=c++14... no
checking whether /usr/bin/clang++ supports C++14 features with
+std=c++14... no
checking whether /usr/bin/clang++ supports C++14 features with -h
std=c++14... no
checking whether /usr/bin/clang++ supports C++14 features with
-std=c++1y... no
checking whether /usr/bin/clang++ supports C++14 features with
+std=c++1y... no
checking whether /usr/bin/clang++ supports C++14 features with -h
std=c++1y... no
configure: No compiler with C++14 support was found
}}}
{{{
./template.h:45:16: warning: variable templates are a C++1y extension [-Wc
++1y-extensions]
}}}

nghttp2 already includes the cxx11 1.1 portgroup, but since it requires
C++14, it should additionally use:

{{{
PortGroup compiler_blacklist_versions 1.0

# Requires C++14
compiler.blacklist-append {clang < 602}
}}}
--
Ticket URL: <https://trac.macports.org/ticket/57682>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-11-26 22:31:36 UTC
Permalink
#57682: nghttp2: Requires C++14
-------------------------+-------------------------
Reporter: ryandesign | Owner: Schamschula
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: fixed | Keywords:
Port: nghttp2 |
-------------------------+-------------------------
Changes (by Schamschula):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"4fc3e723bfe0613d25d94480aef607a102df5b36/macports-ports"
4fc3e723bfe0613d25d94480aef607a102df5b36/macports-ports] (master):
{{{
#!ConfigurableCommitTicketReference repository="macports-ports"
revision="4fc3e723bfe0613d25d94480aef607a102df5b36"
nghttp2: require C++14

Closes: https://trac.macports.org/ticket/57682
}}}
--
Ticket URL: <https://trac.macports.org/ticket/57682#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
Loading...