-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
_GLIBCXX_DEBUG causing runtime failure when --order rand #1384
Comments
As far as I can tell, this is a bug in libstdc++. Depending on your PoV, it is either bug in the debug checker, or in its implementation of |
It seems you're right. I must admit I managed to completely miss that SO post. I suppose we'll have to redirect |
Not a problem. |
Description
If
_GLIBCXX_DEBUG
is defined during compilation, the following runtime error occur when the test executable is invoked with--order rand
:Steps to reproduce
Code
Compile and run
g++-7 -std=c++14 -g -D_GLIBCXX_DEBUG main.cpp && ./a.out --rng-seed time --order rand
clang++-5.0 -std=c++14 -g -D_GLIBCXX_DEBUG main.cpp && ./a.out --rng-seed time --order rand
Extra information
The text was updated successfully, but these errors were encountered: