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)
Fri, May 3, 9:29 AM
Unknown Object (File)
Mar 19 2024, 7:00 PM
Unknown Object (File)
Mar 19 2024, 7:00 PM
Unknown Object (File)
Feb 8 2024, 11:25 PM
Unknown Object (File)
Dec 23 2023, 11:37 PM
Unknown Object (File)
Dec 23 2023, 11:37 PM
Unknown Object (File)
Dec 22 2023, 2:54 AM
Unknown Object (File)
Dec 21 2023, 3:11 PM
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 Not Applicable
Unit
Tests Not Applicable

Event Timeline

Add c++17 while there ?

share/mk/bsd.compiler.mk
204 ↗(On Diff #60068)

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
204 ↗(On Diff #60068)

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 ↗(On Diff #60091)

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

share/mk/bsd.compiler.mk
213 ↗(On Diff #60091)

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

share/mk/bsd.compiler.mk
213 ↗(On Diff #60091)

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.