seznam / SuperiorMySqlpp

SuperiorMySQL++
GNU Lesser General Public License v3.0
31 stars 20 forks source link

GCC 6.3 warning - throwing an exception from noexcept method #45

Closed smradCZ closed 6 years ago

smradCZ commented 6 years ago

Error will be logged instead of throwing an exception from noexcept method Statement::close() and program will be terminated by calling std::terminate directly. It's fixed because is not intended to throw messages directly from methods with noexcept specifier and this is also checked by compilers with -Wall option by default.

It fixes #41 also.

This is one step from many in process of porting package to debian-stretch.