I need to build with C++17 but have encountered this error on Ubuntu 16.04:
/usr/local/include/cppconn/exception.h: At global scope:
/usr/local/include/cppconn/exception.h:98:2: error: ISO C++17 does not allow dynamic exception specifications
MEMORY_ALLOC_OPERATORS(SQLException)
^~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/cppconn/exception.h:98:2: error: ISO C++17 does not allow dynamic exception specifications
MEMORY_ALLOC_OPERATORS(SQLException)
I'm running on 2 systems: MacOS and Ubuntu 16.04. For Mac OS, I can build fine (using latest Xcode 10.1). For Ubuntu, I'm running gcc 8. Previously I was using C++11 with gcc 5.4, so things were working fine. But today I updated to gcc 8 and encountered these problems.
On the download page, MacOS allows me to use 1.1.11. However for Ubuntu, only 18.04 has 1.1.11. Moreover github looks behind by 2 years. (for 1.1).
Is there a way for me to get either 16.04 or can github actually be updated to reflect the latest so we can at least build it ourselves? Or can I use the 18.04 version of the SDK on 16.04?
/usr/local/include/cppconn/exception.h: At global scope:
/usr/local/include/cppconn/exception.h:98:2: error: ISO C++17 does not allow dynamic exception specifications
MEMORY_ALLOC_OPERATORS(SQLException)
^~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/cppconn/exception.h:98:2: error: ISO C++17 does not allow dynamic exception specifications
MEMORY_ALLOC_OPERATORS(SQLException)
I'm running on 2 systems: MacOS and Ubuntu 16.04. For Mac OS, I can build fine (using latest Xcode 10.1). For Ubuntu, I'm running gcc 8. Previously I was using C++11 with gcc 5.4, so things were working fine. But today I updated to gcc 8 and encountered these problems.
On the download page, MacOS allows me to use 1.1.11. However for Ubuntu, only 18.04 has 1.1.11. Moreover github looks behind by 2 years. (for 1.1).
Is there a way for me to get either 16.04 or can github actually be updated to reflect the latest so we can at least build it ourselves? Or can I use the 18.04 version of the SDK on 16.04?