BALL-Project / ball

The Biochemical Algorithms Library
GNU Lesser General Public License v2.1
72 stars 31 forks source link

Remove exception specifications #633

Closed tkemmer closed 7 years ago

tkemmer commented 7 years ago

This patch removes all exception specifications (throw(something)) from BALL and VIEW. Exception specifications have been removed from the C++ standard a long time ago and cause a gazillion warnings. @anhi and @philthiel: Any objections?

philthiel commented 7 years ago

That's perfectly fine with me!

tkemmer commented 7 years ago

I had to restore the specifications in the sip files as they seem to be required to allow named BALL exceptions (rather than "unknown exceptions") to be thrown in Python code. Now everything should work again.