Page MenuHomeFreeBSD

Add c++14 to COMPILER_FEATURES
ClosedPublic

Authored by asomers on Jul 23 2019, 11:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 18, 2:59 AM
Unknown Object (File)
Fri, Oct 17, 4:41 PM
Unknown Object (File)
Fri, Oct 17, 4:41 PM
Unknown Object (File)
Fri, Oct 17, 4:41 PM
Unknown Object (File)
Fri, Oct 17, 4:41 PM
Unknown Object (File)
Fri, Oct 17, 8:10 AM
Unknown Object (File)
Tue, Oct 14, 12:35 AM
Unknown Object (File)
Mon, Oct 13, 11:25 AM
Subscribers

Details

Summary

Add c++14 to COMPILER_FEATURES

This will be used to gate the fusefs tests. It's a partial merge of r348281
from projects/fuse2.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 25495
Build 24114: arc lint + arc unit

Event Timeline

Add c++17 while there ?

share/mk/bsd.compiler.mk
205

Are you claiming that arbitrary version of clang++ supports enough of c++14 ?

In D21044#456814, @kib wrote:

Add c++17 while there ?

I have no immediate need for c++17. But I could add it if you like.

share/mk/bsd.compiler.mk
205

Every version of clang that's in the base and in ports, yes.

Qualify clang's c++11 and c++14 support, add a c++17 feature, and sort features by version.

share/mk/bsd.compiler.mk
213

Don't you need () around && expression, same as it is done on the next line ?

share/mk/bsd.compiler.mk
213

Technically no, because && has higher precedence than ||.

share/mk/bsd.compiler.mk
213

Probably worth adding them for consistency (between the clang and gcc conditionals) though?

This revision is now accepted and ready to land.Jul 24 2019, 3:04 PM
This revision was automatically updated to reflect the committed changes.