On Thu, Jan 03, 2019 at 11:55:43AM -0500, Scott Kostyshak wrote: > On Thu, Jan 03, 2019 at 10:43:12AM +0100, Jean-Marc Lasgouttes wrote: > > Le 02/01/2019 à 20:46, Scott Kostyshak a écrit : > > > Thanks. Just checked and almost all of them are gone. I still get the > > > following: > > > > > > In file included from > > > /home/scott/lyxbuilds/master_clang/repo/src/EnchantChecker.cpp:14: > > > /usr/include/enchant/enchant++.h:55:25: error: 'enchant::Exception::what' > > > hides overloaded virtual function [-Werror,-Woverloaded-virtual] > > > virtual const char * what () throw() { > > > ^ > > > /usr/bin/../lib/gcc/x86_64-linux-gnu/7.3.0/../../../../include/c++/7.3.0/bits/exception.h:69:5: > > > note: hidden overloaded virtual function 'std::exception::what' declared > > > here: different qualifiers (const vs none) > > > what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_USE_NOEXCEPT; > > > ^ > > > > This is something that I reported upstream a long time ago and did not get > > fixed in v1.x to avoid breaking ABI. > > Good to know. > > > It has however been fixed in 2.x versions, but this is not (yet?) packaged > > for ubuntu. > > Looks like not even for Ubuntu 18.10: > > https://packages.ubuntu.com/search?keywords=enchant
It is in Ubuntu 20.04 daily, and I'm happy that I can finally compile LyX with -Werror and Clang. With Clang on one processor in a virtual box I get 13 minutes, compared to 18 minutes with GCC. Scott
signature.asc
Description: PGP signature
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel