Opened 5 years ago

Closed 4 years ago

#60331 closed enhancement (fixed)

Document compiler.cxx_standard

Reported by: iay (Ian Young) Owned by: iay (Ian Young)
Priority: Normal Milestone:
Component: guide Version:
Keywords: Cc:
Port:

Description

Quite a few ports have Portfiles which include a setting for compiler.cxx_standard (usually with a value of 2011), but as far as I can tell this isn't documented in the guide anywhere.

It does seem to be a useful setting to know about, particularly for ports which you want to have work in older releases of Mac OS X, where the default compiler doesn't support C++11, as it causes a different compiler to be used in the build process.

It would be nice to have this documented by someone who understands the intended semantics.

Change History (6)

comment:1 Changed 5 years ago by kencu (Ken)

Version 0, edited 5 years ago by kencu (Ken) (next)

comment:2 Changed 5 years ago by iay (Ian Young)

Thanks Ken, that looks like exactly what I was looking for.

It doesn't seem discoverable, though (maybe I just haven't figured out a way to get there other than through the wiki index...)

Would it be useful to link to that page from the configure.compiler documentation in the Guide? I could try to put together a PR for that if it made sense.

comment:3 Changed 5 years ago by kencu (Ken)

SGTM. Please feel free to improve the situation!

comment:4 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

The guide should be the main source of documentation unfortunately it has not been kept sufficiently up to date over the years and we are also in the middle of converting the guide from docbook to asciidoc.

comment:5 Changed 5 years ago by iay (Ian Young)

comment:6 Changed 4 years ago by iay (Ian Young)

Owner: set to iay
Resolution: fixed
Status: newclosed

In afb3ace7b128fee43c8171a8fa75ac96f66c29f9/macports-guide (master):

Make the CompilerSelection wiki page more discoverable

Fixes: #60331

Note: See TracTickets for help on using tickets.