Am 28.08.2016 um 02:02 schrieb Guillaume Munch <g...@lyx.org>: > > Le 24/08/2016 à 14:07, Jean-Marc Lasgouttes a écrit : >> >> I get this warning with clang in master: >> >> In file included from ../../master/src/InsetList.cpp:21: >> ../../master/src/insets/InsetBranch.h:106:7: warning: >> 'lyx::InsetBranch::producesOutput' hides overloaded >> virtual function [-Woverloaded-virtual] >> bool producesOutput(bool const child = false) const; >> ^ >> ../../master/src/insets/Inset.h:412:15: note: hidden overloaded virtual >> function >> 'lyx::Inset::producesOutput' declared here: different number of >> parameters (0 vs 1) >> virtual bool producesOutput() const { return true; } >> ^ >> >> Richard, this is a consequence of commit cbbae06c9bb. I guess the >> solution is to declare two versions of producesOutput instead of using >> an optional argument. >> > > Same problem here:
This is a problem in the Enchant library - not in LyX. Stephan > > In file included from ../../src/EnchantChecker.cpp:14: > /usr/include/enchant/enchant++.h:55:25: warning: 'enchant::Exception::what' > hides > overloaded virtual function [-Woverloaded-virtual] > virtual const char * what () throw() { > ^ > /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/exception:68:25: > note: > hidden overloaded virtual function 'std::exception::what' declared here: > different qualifiers (const vs none) > virtual const char* what() const _GLIBCXX_USE_NOEXCEPT; > ^