MacPorts
2018-11-26 21:31:48 UTC
#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}
}}}
------------------------+-------------------------
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
Ticket URL: <https://trac.macports.org/ticket/57682>
MacPorts <https://www.macports.org/>
Ports system for macOS