Skip to content

Some tests under fail unless _LIBCPP_ENABLE_EXPERIMENTAL is explicitly defined during compilation. #144499

Open
@mrashad32

Description

@mrashad32

I noticed that some tests under libcxx/test/std/experimental/simd/ fail to build unless I manually define the macro _LIBCPP_ENABLE_EXPERIMENTAL.

For example, this test:
libcxx/test/std/experimental/simd/simd.class/simd_width.pass.cpp

I think this can be confusing for people running the tests, especially if they don’t know that this macro is needed.

So my question is, to add this to the additional flags will be a good suggestion?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    libc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.questionA question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions