![mkvtoolnix mac 10.6 mkvtoolnix mac 10.6](https://nektony.com/wp-content/uploads/2017/09/delete-MKVToolNix.png)
Boost itself was also compiles without -std=c++11, I don't know if this makes as big a difference as the older compiler and much older stdlib features.
MKVTOOLNIX MAC 10.6 FULL
lists what version of clang various c++0x/c++11 features were first added, I wouldn't be surprised if XCode's clang/libc++ is too old to support everything mkvtoolnix uses, but I'd think the latest clang and latest libc++ out of ports would since Clang has full C++11 support now.īut since boost was compiled with the defaults (clang 3.2 and gcc4.2-like libstdc++) I think there's still going to be trouble using it when compiling the app with clang 3.4 libc++. If a compiler even knows about -std=c++11 it will be the same as -std=c++0x for it as far as I know, c++0x was just the name before they knew what year it would finally be ratified and when they came up with the final name 0x became an alias for it. opt/local/libexec/llvm-3.3/bin/./lib/c++/v1/vector:1879:21: fatal error: object of type 'boost::filter_iterator, boost::transform_iterator, std::_1::basic_string, std::_1::less >, std::_1::allocator, std::_1::basic_string >, std::_1::_map_const_iterator, std::_1::basic_string >, const std::_1::_tree_node, std::_1::basic_string >, void *> *, long>, boost::use_default, boost::use_default>' cannot be assigned because its copy assignment operator is implicitly deleted With MacPorts clang 3.3 and 3.4, the error wording is slightly different: usr/bin/./lib/c++/v1/vector:1822:21: fatal error: overload resolution selected implicitly-deleted copy assignment operator With clang version "Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)" from Xcode 4.6.2, the error is: Unfortunately even with recent clang the build eventually fails: When the compiler is gcc 4.6 or newer, adding this flag causes all the C++11 feature tests to fail. However it must only be added when the compiler is clang.
![mkvtoolnix mac 10.6 mkvtoolnix mac 10.6](https://4.bp.blogspot.com/-hPF0MLbHSEA/TyC1Do9ukqI/AAAAAAAAA-o/Da8cfm9VEvQ/s1600/Roma2.jpg)
MKVTOOLNIX MAC 10.6 PATCH
I added a patch to add this to the configure script. The configure script tests for various C++11 features that are required, but it doesn't find three of them even in versions of clang that have them because -stdlib=libc++ was not used. disabled the port on Mavericks adding a comment saying this would be the necessary fix.Īttached is a patch that begins work toward this solution. In this ticket, I'd instead like to explore the idea of getting mkvtoolnix to build correctly with clang. The idea of getting new ports of boost and icu built with such a compiler is explored in #34806. Mkvtoolnix currently requires gcc 4.6 or newer to build, but mkvextract crashes because boost and icu have not been built with the same compiler.