[109683] trunk/dports/multimedia/mkvtoolnix/Portfile

Ryan Schmidt ryandesign at macports.org
Fri Aug 23 07:53:31 PDT 2013


On Aug 23, 2013, at 08:02, Lawrence Velázquez wrote:

> On Aug 23, 2013, at 5:47 AM, Ryan Schmidt wrote:
> 
>> Unfortunately, it seems clang does not support all the C++11 features mkvtoolnix uses; as I'm sure you saw, when using clang, the configure script says:
>> 
>> 
>> checking for support for C++11 feature "initializer lists"... no
>> checking for support for C++11 feature "range-based 'for'"... no
>> checking for support for C++11 feature "right angle brackets"... yes
>> checking for support for C++11 feature "'auto' keyword"... yes
>> checking for support for C++11 feature "lambda functions"... yes
>> checking for support for C++11 feature "nullptr"... yes
>> checking for support for C++11 feature "tuples"... no
>> The following features of the C++11 standard are not supported by ccache /usr/bin/clang++:
>> * initializer lists
>> * range-based 'for'
>> * tuples
>> If you are using the GNU C compiler collection (gcc) then you need
>> at least v4.6.
>> configure: error: support for required C++11 features incomplete
>> 
>> 
>> Do you think these features are likely to be added to clang soon?
> 
> The front-end proper has supported these for some time. 
> 
> http://clang.llvm.org/cxx_status.html

Thanks. I looked into it further, got the C++11 feature checks to work with clang by patching the configure script, but the build failed later on. I've opened a ticket with my patch and my findings:

https://trac.macports.org/ticket/40231



More information about the macports-dev mailing list