Skip to content
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

stream_state_test.cpp failed in clang on Windows #104

Open
yuxianch opened this issue Nov 29, 2019 · 0 comments
Open

stream_state_test.cpp failed in clang on Windows #104

yuxianch opened this issue Nov 29, 2019 · 0 comments

Comments

@yuxianch
Copy link

I tried to use clang-cl on Windows(VS2019) to run the tests, and found stream_state_test.cpp failed with the following error message.

ksh-3.2$ ./stream_state_test.exe
Running 12 test cases...
stream_state_test.cpp(89): error: in "stream state test/wrap_nothrow <&test_seekg>__execute": unexpected exception thrown by function(stream)
stream_state_test.cpp(72): error: in "stream state test/wrap_nothrow <&test_seekg>__execute": stream still good
stream_state_test.cpp(74): error: in "stream state test/wrap_nothrow <&test_seekg>__execute": stream did not set badbit
stream_state_test.cpp(75): error: in "stream state test/wrap_nothrow <&test_seekg>__execute": stream did not fail
stream_state_test.cpp(77): error: in "stream state test/wrap_nothrow <&test_seekg>__execute": stream does not report failure by operator !
stream_state_test.cpp(79): error: in "stream state test/wrap_nothrow <&test_seekg>__execute": stream does not report failure by operator void* or bool
stream_state_test.cpp(72): error: in "stream state test/wrap_throw <&test_seekg>__execute": stream still good
stream_state_test.cpp(74): error: in "stream state test/wrap_throw <&test_seekg>__execute": stream did not set badbit
stream_state_test.cpp(75): error: in "stream state test/wrap_throw <&test_seekg>__execute": stream did not fail
stream_state_test.cpp(77): error: in "stream state test/wrap_throw <&test_seekg>__execute": stream does not report failure by operator !
stream_state_test.cpp(79): error: in "stream state test/wrap_throw <&test_seekg>__execute": stream does not report failure by operator void* or bool
unknown location(0): fatal error: in "stream state test/wrap_throw_delayed<&test_seekg>__execute": class std::ios_base::failure: bad seek: iostream stream error
stream_state_test.cpp(89): error: in "stream state test/wrap_nothrow <&test_seekp>__execute": unexpected exception thrown by function(stream)
stream_state_test.cpp(72): error: in "stream state test/wrap_nothrow <&test_seekp>__execute": stream still good
stream_state_test.cpp(74): error: in "stream state test/wrap_nothrow <&test_seekp>__execute": stream did not set badbit
stream_state_test.cpp(75): error: in "stream state test/wrap_nothrow <&test_seekp>__execute": stream did not fail
stream_state_test.cpp(77): error: in "stream state test/wrap_nothrow <&test_seekp>__execute": stream does not report failure by operator !
stream_state_test.cpp(79): error: in "stream state test/wrap_nothrow <&test_seekp>__execute": stream does not report failure by operator void* or bool
stream_state_test.cpp(72): error: in "stream state test/wrap_throw <&test_seekp>__execute": stream still good
stream_state_test.cpp(74): error: in "stream state test/wrap_throw <&test_seekp>__execute": stream did not set badbit
stream_state_test.cpp(75): error: in "stream state test/wrap_throw <&test_seekp>__execute": stream did not fail
stream_state_test.cpp(77): error: in "stream state test/wrap_throw <&test_seekp>__execute": stream does not report failure by operator !
stream_state_test.cpp(79): error: in "stream state test/wrap_throw <&test_seekp>__execute": stream does not report failure by operator void* or bool
unknown location(0): fatal error: in "stream state test/wrap_throw_delayed<&test_seekp>__execute": class std::ios_base::failure: bad seek: iostream stream error

*** 24 failures are detected in the test module "Master Test Suite"

Seems that clang on Windows does not behave properly on the wrap_nothrow, wrap_throw and throw_delayed cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant