Warnings during compilation of 2.3.8dev

Pavel Sanda sanda at lyx.org
Wed Aug 16 15:48:57 UTC 2023


On Wed, Aug 16, 2023 at 11:17:22AM +0200, Jean-Pierre Chrétien wrote:
>   C++ Compiler:            g++ (12.2.0)
...
> std::binary_function??? is deprecated [-Wdeprecated-declarations]
...
> _Result> struct std::unary_function??? is deprecated
...
> ???std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)()
> const) [with _Ret = bool; _Tp = lyx::ParamInfo::ParamData]??? is deprecated:


I wouldn't worry about deprecaction warnings with new gcc. 2.4 will be long out before
we might get hit by this

> ../../2.3.x/src/LyXRC.cpp:3077:42: warning: comparison between two arrays
> [-Warray-compare]
>  3077 |                 || lyxrc_orig.font_sizes != lyxrc_new.font_sizes

This one is a real bug though, fixed at master by eaebe404ae6c83 and not backported.
Scott?

Pavel


More information about the lyx-devel mailing list