Skip to content

bazel_dep(name = "apple_support", version = "1.23.0") leads to issues with std::lerp? #422

@Vertexwahn

Description

@Vertexwahn

If I switch from bazel_dep(name = "apple_support", version = "1.221") to bazel_dep(name = "apple_support", version = "1.23.0") I see strange errors, e.g.:

./core/stl/string.hpp:19:23: error: no type named 'u8string_view' in namespace 'std'
   19 | using u8string = std::u8string_view;

If I comment out the usage of std::u8string_view is see similar problems with other C++17/20 features - e.g. std::lerp:

./math/util.hpp:31:12: error: no member named 'lerp' in namespace 'std'
   31 | using std::lerp;

clang --version returns on my system:

Apple clang version 16.0.0 (clang-1600.0.26.6)
Target: arm64-apple-darwin24.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

How to reproduce:

git clone https://github.com/Vertexwahn/FlatlandRT # clone the repository
cd FlatlandRT # change directory to cloned repository
cd devertexwahn # switch to the location where the MODULE.bazel file is located
bazel build --config=macos -- //core/... 
# Switch in devertexwahn/MODULE.bazel from version 1.22.1 to 1.23.0 and do previous build command again

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions