Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Sep 2017 21:31:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 222415] [patch] Add support for C++17
Message-ID:  <bug-222415-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222415

            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@FreeBSD.org
          Reporter: rleigh@codelibre.net
                CC: freebsd-ports-bugs@FreeBSD.org
          Keywords: patch

Created attachment 186489
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D186489&action=
=3Dedit
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=3Dcompiler:c++17-lang
USE_CXXSTD=3Dc++17

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


Regards,
Roger

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222415-13>