libev icon indicating copy to clipboard operation
libev copied to clipboard

The library is no longer compatible with C++17

Open jodier opened this issue 2 years ago • 1 comments

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

jodier avatar May 04 '23 17:05 jodier

Hi.

Please refer to this version of libev. libev

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

glingi avatar Apr 03 '24 05:04 glingi