How to replace dynamic exception specifications: throw(...)
Just remove the dynamic exception specification. That's all you need to do.
C++ is not Java; in C++, all functions are (at a language level) assumed to throw anything unless they are tagged noexcept
. As such, if you remove the exception specification, it will work exactly as it did before.
c++1z dynamic exception specification error
C++17 removed dynamic exception specifications, as a result of P0003. Before that, they had been deprecated since C++11. They are no longer part of the language, so there isn't really a way to fix it. As long as you need that third party library, until it changes, you're stuck on C++14.
If you're desperate, you could try:
#define throw(...)
but I wouldn't recommend it.
Related Topics
Is There a Standard Way of Moving a Range into a Vector
Std::Lexical_Cast - Is There Such a Thing
Why Does the C++ Standard Algorithm "Count" Return a Difference_Type Instead of Size_T
C++, Static VS. Namespace VS. Singleton
What Are Use Cases for Structured Bindings
Undefined Reference to Google::Protobuf::Internal::Empty_String_[Abi:Cxx11]
How to Build Boost with New Visual Studio 2013 Preview
Opencv: Find All Non-Zero Coordinates of a Binary Mat Image
Does Std::Mutex Create a Fence
Why Was Pair Range Access Removed from C++11
Why Can't We Declare a Namespace Within a Class
Memory Allocation Profiling in C++
Are There Any Downsides to Using Upx to Compress a Windows Executable
C++ - Interval Tree Implementation
Who Defines C Operator Precedence and Associativity
How to Find a Particular Value in an Array and Return Its Index