Skip to content

Commit

Permalink
Enable preliminary C++17 support (C++1z)
Browse files Browse the repository at this point in the history
Not using any new C++17 (draft) features, but we may want to use std::variant as soon as it becomes available (as we currently use boost::variant), although std::variant will be a library feature.
  • Loading branch information
sorbits committed Oct 12, 2016
1 parent dde19a2 commit b3c64db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions target
Expand Up @@ -13,9 +13,9 @@ FLAGS += -fcolor-diagnostics
FLAGS += -DNDEBUG -Os
# LINK = OakDebug

CXX_FLAGS += -fvisibility=hidden -std=c++1y -stdlib=libc++
CXX_FLAGS += -fvisibility=hidden -std=c++1z -stdlib=libc++
OBJC_FLAGS += -fvisibility=hidden -fobjc-arc -std=c99 -fobjc-abi-version=3
OBJCXX_FLAGS += -fvisibility=hidden -std=c++1y -stdlib=libc++ -fobjc-abi-version=3
OBJCXX_FLAGS += -fvisibility=hidden -std=c++1z -stdlib=libc++ -fobjc-abi-version=3
OBJCXX_FLAGS += -fobjc-arc -fobjc-call-cxx-cdtors
LIBS += c++

Expand Down

0 comments on commit b3c64db

Please sign in to comment.