Skip to content

Urgent fix for Conan build on GCC 5#230

Merged
lo-simon merged 2 commits into
sony:masterfrom
garethsb:std_ios_base_failure_code
Jan 19, 2022
Merged

Urgent fix for Conan build on GCC 5#230
lo-simon merged 2 commits into
sony:masterfrom
garethsb:std_ios_base_failure_code

Conversation

@garethsb
Copy link
Copy Markdown
Contributor

See conan-io/conan-center-index#8895 (comment).
And the gory details in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66145.
Successful compilation, e.g. https://godbolt.org/x/qr1Yf7oo1, demonstrates that std::ios_base::failure is derived from std::system_error in some environments with GCC 5, but since the error code is rarely useful, it's pragmatic just to delete this troublesome line of code.

(Oh, and a comment fix I had lying around.)

…ror, but in some environments this doesn't seem to be the case, so since the error code is rarely useful, just don't log it
@lo-simon lo-simon merged commit 06cb14a into sony:master Jan 19, 2022
@garethsb garethsb deleted the std_ios_base_failure_code branch January 19, 2022 22:52
garethsb added a commit to garethsb/nmos-cpp that referenced this pull request Apr 28, 2022
* for build and dependencies, e.g. sony#197, sony#198, sony#207, sony#211, sony#215, sony#229, sony#230, sony#235, sony#243
* for SDP parser/generator, e.g. sony#201, sony#205, sony#219, sony#241, sony#242, sony#244
* for RQL, e.g. sony#224
* for CI tests, e.g. sony#218, sony#231, sony#239, sony#250
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

Successfully merging this pull request may close these issues.

2 participants