Created attachment 565864 [details] Emerge info Libreoffice (>= 6.1.5.2) fails to compile with error: ISO C++17 does not allow dynamic exception specifications when using gcc 8.2 (that enables -std=gnu++17) due to http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0003r5.html > As workaround, I've simply set -std=c++14 in CHOSTS, CPPHOSTS, CXXHOSTS Error happens during mysql client connector compiling: [CXX] mysqlc/source/mysqlc_databasemetadata.cxx In file included from /usr/include/cppconn/variant.h:38, from /usr/include/cppconn/connection.h:35, from /usr/include/cppconn/driver.h:30, from /var/notmp/portage/app-office/libreoffice-6.1.5.2/work/libreoffice-6.1.5.2/mysqlc/source/mysqlc_connection.hxx:39, from /var/notmp/portage/app-office/libreoffice-6.1.5.2/work/libreoffice-6.1.5.2/mysqlc/source/mysqlc_statement.cxx:25: /usr/include/cppconn/exception.h:98:2: error: ISO C++17 does not allow dynamic exception specifications MEMORY_ALLOC_OPERATORS(SQLException) ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/cppconn/exception.h:98:2: error: ISO C++17 does not allow dynamic exception specifications MEMORY_ALLOC_OPERATORS(SQLException) ^~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [/var/notmp/portage/app-office/libreoffice-6.1.5.2/work/libreoffice-6.1.5.2/solenv/gbuild/LinkTarget.mk:293: /var/notmp/portage/app-office/libreoffice-6.1.5.2/work/libreoffice-6.1.5.2/workdir/CxxObject/mysqlc/source/mysqlc_statement.o] Error 1 As workaround, I've simply set -std=c++14 in CHOSTS, CPPHOSTS, CXXHOSTS
I'm still sleeping... :( > As workaround, I've simply set -std=c++14 in CFLAGS, CPPFLAGS, CXXFLAGS
As a workaround, search in bugzilla for existing bugs. ;) *** This bug has been marked as a duplicate of bug 674450 ***
(In reply to Andreas Sturmlechner from comment #2) > As a workaround, search in bugzilla for existing bugs. ;) > > *** This bug has been marked as a duplicate of bug 674450 *** Ooops, sorry for spamming, I must improve my search skills :-/