Skip to content

[libcxx] Unmatched _LIBCPP_POP_MACROS with LIBCXX_ENABLE_LOCALIZATION=OFF #134681

Closed
@s-barannikov

Description

@s-barannikov

With LIBCXX_ENABLE_LOCALIZATION=OFF a bunch of tests fail to compile with an error:

libcxx/test-suite-install/include/c++/v1/istream:1385:1: error: pragma pop_macro could not pop 'min', no matching push_macro [-Werror,-Wignored-pragmas]
# |  1385 | _LIBCPP_POP_MACROS
# |       | ^

The corresponding _LIBCPP_PUSH_MACROS is guarded by #if _LIBCPP_HAS_LOCALIZATION, while _LIBCPP_POP_MACROS isn't.

Metadata

Metadata

Assignees

No one assigned

    Labels

    libc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions