[Bug 222415] [patch] Add support for C++17

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Sep 17 21:31:33 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222415

            Bug ID: 222415
           Summary: [patch] Add support for C++17
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr at FreeBSD.org
          Reporter: rleigh at codelibre.net
                CC: freebsd-ports-bugs at FreeBSD.org
          Keywords: patch

Created attachment 186489
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=186489&action=edit
Add compiler:c++17-lang option and c++17 language standard to compiler.mk

Now that clang 5.0 is out, it's possible to start using C++17 features.  The
attached patch adds support for:

USES=compiler:c++17-lang
USE_CXXSTD=c++17

including building clang 5.0 from source if a new enough clang is not available
(copying the existing C++14 support).


Regards,
Roger

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list