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 {
^
* 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 {}
^
JMarc
Le 24/03/2014 14:19, Jean-Marc Lasgouttes a écrit :
commit 8ac5f09c1783261018a107b54ce398733b8f97a4
Author: Jean-Marc Lasgouttes <lasgout...@lyx.org>
Date: Fri Mar 21 12:24:47 2014 +0100
Do not store Languages objects in completion words lists
In the current code each paragraph contains a map<Language,
WordList*>, which means that it contains a full copy of the language
object. Since these objects contain translation tables nowadays, this
is a very bad idea.
This patch simply replaces the Language key by a string.
When loading the Userguide on linux/x86_64, the total memory
consumption decreases from 36.27MB to 31.50MB.