[Bug 222415] [patch] bsd.compiler.mk: Add support for C++17

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jun 9 17:48:49 UTC 2018


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

Naram Qashat <cyberbotx at cyberbotx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cyberbotx at cyberbotx.com
 Attachment #194098|                            |maintainer-approval?(cyberb
              Flags|                            |otx at cyberbotx.com)

--- Comment #2 from Naram Qashat <cyberbotx at cyberbotx.com> ---
Created attachment 194098
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=194098&action=edit
Updated patch for Mk/Uses/compiler.mk

I'm attaching an updated patch to Mk/Uses/compiler.mk for this, using the
system compiler if it supports c++17 or llvm60 if it doesn't.

One other thing was adding gnu++14 and gnu++17 to CXXSTD, as those were missing
for some reason. I'm not sure if they were actually needed, though.

It would be nice to get this into the tree sooner rather than later, as I'm
wanting to update the x11-toolkits/scintilla port and it uses C++17 and refuses
to compile with the FreeBSD 11.1 clang 4.0 compiler.

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


More information about the freebsd-ports-bugs mailing list