On 04/21/2014 06:40 PM, Jean-Marc Lasgouttes wrote:
The warnings that remain after this patch are of two sorts:

* unused parameters in boost, like:

In file included from ../../../../master/boost/boost/smart_ptr/make_shared_array.hpp:15: ../../../../master/boost/boost/smart_ptr/detail/make_array_helper.hpp:75:62: warning:
      unused parameter 'other' [-Wunused-parameter]
bool operator==(const make_array_helper<T[], U>& other) const {

Not much we can do about that, is there?

* problems with hidden overloaded virtual functions. I read about it, but I have to admit that I do not know what is the real way to shut this warning off.

../../master/src/mathed/InsetMath.h:181:15: warning: 'lyx::InsetMath::write' hides overloaded virtual function [-Woverloaded-virtual]
        virtual void write(WriteStream & os) const;
                     ^
../../master/src/insets/Inset.h:455:15: note: hidden overloaded virtual function 'lyx::Inset::write' declared here: type mismatch at 1st parameter ('std::ostream &' (aka 'basic_ostream<char, char_traits<char> > &') vs 'lyx::WriteStream &')
        virtual void write(std::ostream &) const {}
                     ^

This looks a bit worrying, as if it invites confusion between these functions. Can we rename one of them\?

Richard

Reply via email to