Opened 2 years ago

Closed 3 weeks ago

Last modified 3 weeks ago

#62677 closed enhancement (fixed)

Add C++20 support for configure.cxx_standard

Reported by: ryandesign (Ryan Schmidt) Owned by:
Priority: Normal Milestone:
Component: base Version:
Keywords: Cc: ctreleaven (Craig Treleaven), cjones051073 (Chris Jones), mascguy (Christopher Nielsen)
Port:

Description

See the py-cipheycore port.

Change History (10)

comment:2 Changed 15 months ago by ctreleaven (Craig Treleaven)

Cc: ctreleaven added

comment:3 Changed 7 months ago by cjones051073 (Chris Jones)

See https://github.com/macports/macports-base/pull/283

Also note a couple ports are now requesting this standard

Oberon ~/Projects/MacPorts/ports > git grep cxx_standard | grep 2020
science/seqan3/Portfile:compiler.cxx_standard   2020
sysutils/vtm/Portfile:compiler.cxx_standard   2020

Currently requesting c++20 will be effectively falling back to doing what requesting 2017 does, which definitely includes compilers that do not support the 2020 standard.

Last edited 7 months ago by cjones051073 (Chris Jones) (previous) (diff)

comment:4 Changed 7 months ago by cjones051073 (Chris Jones)

Cc: cjones051073 added

comment:5 Changed 2 months ago by harens (Haren S)

Resolution: fixed
Status: newclosed

comment:6 Changed 3 weeks ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:7 Changed 3 weeks ago by mascguy (Christopher Nielsen)

I think the few ports requesting Cxx20, presently blacklist Xcode Clang across-the-board. We'll want to fix those. (I can take care of those.)

comment:8 in reply to:  7 Changed 3 weeks ago by mascguy (Christopher Nielsen)

Resolution: fixed
Status: closedreopened

Replying to mascguy:

I think the few ports requesting Cxx20, presently blacklist Xcode Clang across-the-board. We'll want to fix those. (I can take care of those.)

Per discussion with @cjones earlier today, a new release of MacPorts base is still needed. And the aforementioned cleanup is dependent on that.

Reopening until that has been taken care of, as our C++20 support isn't complete yet.

comment:9 Changed 3 weeks ago by jmroot (Joshua Root)

Resolution: fixed
Status: reopenedclosed

This is a base ticket; open another one for ports that need changes.

comment:10 in reply to:  9 Changed 3 weeks ago by mascguy (Christopher Nielsen)

Replying to jmroot:

This is a base ticket; open another one for ports that need changes.

Sure, fair enough. But I reopened this specifically because base hasn't had a new release with this functionality yet. Or at least, that was my understanding.

Is my understanding correct...?

Note: See TracTickets for help on using tickets.