-
Notifications
You must be signed in to change notification settings - Fork 13.6k
[libcxx] Unmatched _LIBCPP_POP_MACROS with LIBCXX_ENABLE_LOCALIZATION=OFF #134681
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This is strange, that didn't come up in our tests. Can you describe exactly what you're running? |
I'm running libc++ test suite. The tests that unexpectedly fail are:
Used CMake options
There is nothing special in a custom lit config / arguments. |
This mismatch seems to be real and is probably introduced by #108637. It seems that we almost never test including
At least these test files shouldn't include |
Both @mordante and I are unable to reproduce this issue locally. That's weird. But by looking at the code I can tell the Finally, I do think we should be testing the inclusion of those headers since they're supposed to be no-ops now. I'll make a patch. |
Just in case, here are the used features:
Not sure if it makes a difference, but C++ modules are disabled. |
As a drive-by, also remove unnecessary includes from flat container tests. Closes llvm#134681
I did #134874 to solve the immediate problem but I am also working on a patch to enable the testing of headers guarded with |
Fixes llvm#134681 (cherry picked from commit 4ab86ed)
Uh oh!
There was an error while loading. Please reload this page.
With
LIBCXX_ENABLE_LOCALIZATION=OFF
a bunch of tests fail to compile with an error:The corresponding
_LIBCPP_PUSH_MACROS
is guarded by#if _LIBCPP_HAS_LOCALIZATION
, while_LIBCPP_POP_MACROS
isn't.The text was updated successfully, but these errors were encountered: