cxx11 portgroup: C++11, C++14, C++17

Ken Cunningham ken.cunningham.webuse at gmail.com
Mon Feb 5 00:09:20 UTC 2018


Please not more portgroups, tho. 

How about we just move up that clang floor as time goes by? 

K

Sent from my iPhone

> On Feb 4, 2018, at 7:03 PM, Ryan Schmidt <ryandesign at macports.org> wrote:
> 
>> On Feb 4, 2018, at 18:01, Ken Cunningham wrote:
>> 
>>> On Feb 4, 2018, at 6:56 PM, Ryan Schmidt wrote:
>>> 
>>> The cxx11 portgroup is fine for C++11, but what do we want to do about C++14, C++17, and future versions?
>> 
>> By providing a current clang, like 5.0, all these are covered I believe. 
>> 
>> The PG is really misnamed....should be "modern compiler" PG or similar. 
> 
> Well, for example, Apple clang < 602 doesn't understand -std=c++14, but the portgroup only blacklists clang < 500. So for C++14 ports like textmate2 I've been adding the clang < 602 blacklist in addition to including the portgroup. But the more new C++ standards get introduced, the more complicated this will get.
> 


More information about the macports-dev mailing list