> Am 04.07.2016 um 23:47 schrieb Guillaume Munch <g...@lyx.org>:
> 
> I tried to reproduce the compilation issues from today by compiling with
> clang, and also by changing the build type. The result is that I cannot
> reproduce the issues. Therefore, I am not going to be able adjust my
> build setup to make sure that I cause fewer such issues in the future.
> 
> But doing so I noticed the following warning with clang, in case someone
> fancies fixing it:
> 
> 
> 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.3.1/../../../../include/c++/5.3.1/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;
>                        ^
> 
> 

The enchant C++ header has more serious errors than this one.
Look at the method is_added …

I’m really surprised it’s so common on Linux.

> Also, in the future it would help if people included their configuration
> summary together with their reports in case it helps with reproducing.

Ok. I see.

Stephan

Reply via email to