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

The library is no longer compatible with C++17 #15

Open
jodier opened this issue May 4, 2023 · 1 comment
Open

The library is no longer compatible with C++17 #15

jodier opened this issue May 4, 2023 · 1 comment

Comments

@jodier
Copy link

jodier commented May 4, 2023

Dear libev experts,

The library is no longer compatible with C++17. I get:
../include/ev++.h:355:46: error: ISO C++17 does not allow dynamic exception specifications
355 | dynamic_loop (unsigned int flags = AUTO) throw (bad_loop)
| ^~~~~
../include/ev++.h:379:46: error: ISO C++17 does not allow dynamic exception specifications
379 | default_loop (unsigned int flags = AUTO) throw (bad_loop)
| ^~~~~

Best regards,
jodier

@glingi
Copy link

glingi commented Apr 3, 2024

Hi.

Please refer to this version of libev.
libev

This is commit log of ev++.h. throw () was replaced with EV_NOEXCEPT.
commit log

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

2 participants