The cxxLanguageStandard: .gnucxx17 used in this project is not compatible with my ios project
In my iOS project we are using c++23 as the clang language standard and using gnucxx17 with mlx-swift might cause runtime inconsistencies. When I change this to c++23 in this project, getting below errors. Can you please change clang language to c++23 & fix below errors.
@awni this might be an issue for mlx (core) -- is the C++ standard something that is going to move to c++23?
We're not planning to change to C++23 anytime soon. We do intend to bump to C++20 soon though (maybe in the next week or so).
Is it the case that downstream apps have to use the same C++ version as MLX core? That seems like the more important bit to fix.. if possible?
We're not planning to change to C++23 anytime soon. We do intend to bump to C++20 soon though (maybe in the next week or so).
Is it the case that downstream apps have to use the same C++ version as MLX core? That seems like the more important bit to fix.. if possible?
Mixing binaries compiled with different C++ compilers is generally not recommended due to potential Application Binary Interface (ABI) incompatibilities. So this will need a fix
I don't think that is accurate actually.. otherwise we'd have to compile every shared library we use with the same C++ version (which is definitely not the case).