-
Notifications
You must be signed in to change notification settings - Fork 118
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
Fix to compile with Visual C++ and /Zc:implicitNoexcept-. #136
base: develop
Are you sure you want to change the base?
Conversation
/Zc:implicitNoexcept-. Otherwise gets: Error C2694 'override': overriding virtual function has less restrictive exception specification than base class virtual member function 'base' Similar changes are being made e.g.: boostorg/json#636 And proposed here: boostorg/iostreams#136 I grant there there could be more of this. These two are just enough for our codebase.
This PR doesn't look correct, because it uses These need to be |
Ok. Serious question then: instead of |
Since you specifically said |
How about |
based on PR feedback from my other PR (boostorg/iostreams#136)
I think you should squash the 3 commits into a single one, as it's not desirable to have not-quite-correct versions in the history. |
I agree, but, is it approved othewise? That can be done upon commit in the GitHub gui, including editing the commit message. Opinions vary and are strong about PR workflow. |
This looks OK to me. |
…Noexcept-. Otherwise gets: Error C2694 'override': overriding virtual function has less restrictive exception specification than base class virtual member function 'base' Similar changes are being made e.g.: boostorg/json#636
d810699
to
617e4b8
Compare
@mclow I squashed and rebased, ok? |
/Zc:implicitNoexcept-. Otherwise gets: Error C2694 'override': overriding virtual function has less restrictive exception specification than base class virtual member function 'base' Similar changes are being made e.g.: boostorg/json#636 And proposed here: boostorg/iostreams#136 I grant there there could be more of this. These two are just enough for our codebase.
Closing/reopening to retrigger CI. |
Otherwise gets:
Error C2694 'override': overriding virtual function
has less restrictive exception specification than base class virtual
member function 'base'
Similar changes are being made e.g.:
boostorg/json#636
See also, similar from me:
boostorg/format#85