standard way to require c++11?
mojca at macports.org
Sat May 2 03:24:09 PDT 2015
On Fri, May 1, 2015 at 3:43 AM, Ryan Schmidt wrote:
>> And what should the default value be? C++11? C11?
> I think we should probably move toward portgroups where the default is not to do anything, and some directive has to be used to activate the portgroup's behavior.
Indeed. I often wish I was able to use the Python PortGroup to be able
to recall some complex variables from the PortGroup for C++ projects
with some Python bindings. But the PortGroup itself changes so much
that there's no way to use it and also no way to "recover"/"revert"
back to the default behaviour. So we end up hardcoding Python
variables in regular ports, while that could/should be handled by the
(The wxWidgets PortGroup doesn't do anything at by itself all for
example, exactly for the reasons you mention: it might only be used in
Including the PortGroup first and setting the required standard like
C++11 or C++14 at some later point sounds reasonable to me.
More information about the macports-dev