-
Notifications
You must be signed in to change notification settings - Fork 140
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
Data test cases fail with bool initializer list #217
Comments
This appears to happen because the One fix that seems to work is to introduce a wrapper structure inside |
Thanks for the hints, it helped a lot. I've made a fix in the branch |
Great! I will take a look and try it. It might be a few days, though. |
The fix on that topic branch seems to work for me. Thanks! |
* topic/GH-217-init-list-boolean: Change log Avoiding any proxying of the boolean values
In master, closing. |
If a data test case uses boolean values directly passed to make in the BOOST_DATA_TEST_CASE macro the resulting value will be more or less random. This happens when compiling it on macOS / clang 10.0.1 / boost 1.7.0, but not on Windows with VS2017. It also doesn't happen with any other data types except bool.
It doesn't happen if I rewrite it like this:
The text was updated successfully, but these errors were encountered: