Opened 5 years ago

Closed 5 years ago

#57682 closed defect (fixed)

nghttp2: Requires C++14

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: Schamschula (Marius Schamschula)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: nghttp2

Description

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}

Change History (1)

comment:1 Changed 5 years ago by Schamschula (Marius Schamschula)

Resolution: fixed
Status: assignedclosed

In 4fc3e723bfe0613d25d94480aef607a102df5b36/macports-ports (master):

nghttp2: require C++14

Closes: #57682

Note: See TracTickets for help on using tickets.