Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
I tried to build native client using:
$ gcc --version
gcc (Debian 8.3.0-6) 8.3.0
$ cmake --version
cmake version 3.13.4
$ openssl version
OpenSSL 1.1.1c 28 May 2019
and got:
cppcache/src/TcpSslConn.cpp:60: error: catching polymorphic type 'class std::exception' by value
The BUILDING.md states that I should be able to use "GCC 5 or newer".
Fixing the code to resolve this warning is a straightforward 1-character change and a good idea anyway even if the official pipelines continue to compile using older compilers that don't generate this warning yet.
Attachments
Issue Links
- links to